lkml.org 
[lkml]   [2019]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 01/44] posix-timers: Cleanup forward declarations and includes
On Mon, Aug 19, 2019 at 04:31:42PM +0200, Thomas Gleixner wrote:
> - Rename struct siginfo to kernel_siginfo

That's fine because struct siginfo isn't actually used in that
header, right?

> - 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;
>
>

\
 
 \ /
  Last update: 2019-08-20 14:21    [W:0.289 / U:1.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site