lkml.org 
[lkml]   [2002]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.5.21 -- suspend.h:58: parse error before "__nosavedata"
Miles Lane wrote:
> gcc -Wp,-MD,.suspend.o.d -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc -iwithprefix include -DKBUILD_BASENAME=suspend -DEXPORT_SYMTAB -c -o suspend.o suspend.c
> In file included from suspend.c:40:
> /usr/src/linux/include/linux/suspend.h:58: parse error before "__nosavedata"
> /usr/src/linux/include/linux/suspend.h:58: warning: type defaults to `int' in declaration of `__nosavedata'
> /usr/src/linux/include/linux/suspend.h:58: warning: data definition has no type or storage class
> /usr/src/linux/include/linux/suspend.h:59: parse error before "__nosavedata"
> /usr/src/linux/include/linux/suspend.h:59: warning: type defaults to `int' in declaration of `__nosavedata'
> /usr/src/linux/include/linux/suspend.h:59: warning: data definition has no type or storage class

Looks like suspend.h needs init.h

--- linux/include/linux/suspend.h~ Sun Jun 9 04:31:05 2002
+++ linux/include/linux/suspend.h Sun Jun 9 04:31:22 2002
@@ -7,6 +7,7 @@
#include <linux/swap.h>
#include <linux/notifier.h>
#include <linux/config.h>
+#include <linux/init.h>

extern unsigned char software_suspend_enabled;

--
Skip
-
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:26    [W:0.302 / U:2.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site