Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 9 Jun 2002 04:35:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 9 Jun 2002 04:35:33 -0400 Received: from pop017pub.verizon.net ([206.46.170.210]:45814 "EHLO pop017.verizon.net") by vger.kernel.org with ESMTP id ; Sun, 9 Jun 2002 04:35:33 -0400 Date: Sun, 9 Jun 2002 04:40:26 -0400 From: Skip Ford To: Miles Lane Cc: Linus Torvalds , Kernel Mailing List Subject: Re: 2.5.21 -- suspend.h:58: parse error before "__nosavedata" In-Reply-To: <1023606626.5775.1.camel@turbulence.megapathdsl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Message-Id: <20020609083529.GZZE10701.pop017.verizon.net@pool-141-150-239-239.delv.east.verizon.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 #include #include +#include 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/