lkml.org 
[lkml]   [2002]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Fix undeclared NULL in timer.h
Date
On 4 November 2002 05:32, Rusty Russell wrote:
> Uncovered on a PPC compile: timer.h uses NULL, so needs stddef.h
>
> diff -urpN --exclude TAGS -X
> /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal
> .22822-2.5.45-bk-module-ppc.pre/include/linux/timer.h
> .22822-2.5.45-bk-module-ppc/include/linux/timer.h ---
> .22822-2.5.45-bk-module-ppc.pre/include/linux/timer.h 2002-10-31
> 12:37:02.000000000 +1100 +++
> .22822-2.5.45-bk-module-ppc/include/linux/timer.h 2002-11-04
> 18:28:53.000000000 +1100 @@ -3,6 +3,7 @@
>
> #include <linux/config.h>
> #include <linux/list.h>
> +#include <linux/stddef.h>
>
> struct tvec_t_base_s;

The whole problem of #include forest going out of control
needs some clever solution or we will eternally chase missing
.h files
--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.044 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site