[patch 01/44] posix-timers: Cleanup forward declarations and includes

Thomas Gleixner
2019-08-19T15:48:23Z

- 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@linutronix.de>
---
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;