Skip to content

Commit ce03f61

Browse files
committed
posix-timers: Cleanup forward declarations and includes
- Rename struct siginfo to kernel_siginfo as that is used and required - 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 <[email protected]> Reviewed-by: Frederic Weisbecker <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 0bee3b6 commit ce03f61

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

include/linux/posix-timers.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44

55
#include <linux/spinlock.h>
66
#include <linux/list.h>
7-
#include <linux/sched.h>
8-
#include <linux/timex.h>
97
#include <linux/alarmtimer.h>
108

11-
struct siginfo;
9+
struct kernel_siginfo;
10+
struct task_struct;
1211

1312
struct cpu_timer_list {
1413
struct list_head entry;

0 commit comments

Comments
 (0)