[patch 01/44] posix-timers: Cleanup forward declarations and includes
From: Thomas Gleixner
Date: Mon Aug 19 2019 - 11:48:23 EST
- Rename struct siginfo to kernel_siginfo
- Add a forward declaration for task_struct and remove sched.h include
- Remove timex.h include as it is not needed
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
include/linux/posix-timers.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--- a/include/linux/posix-timers.h
+++ b/include/linux/posix-timers.h
@@ -4,11 +4,10 @@
#include <linux/spinlock.h>
#include <linux/list.h>
-#include <linux/sched.h>
-#include <linux/timex.h>
#include <linux/alarmtimer.h>
-struct siginfo;
+struct kernel_siginfo;
+struct task_struct;
struct cpu_timer_list {
struct list_head entry;