[2.5][PATCH] Remove warnings from rtas-proc.c

linas at austin.ibm.com linas at austin.ibm.com
Thu Feb 5 04:41:44 EST 2004


On Mon, Jan 26, 2004 at 09:20:00PM -0600, olof at austin.ibm.com wrote:
>
> I'm tired of seeing the warnings go by every time I compile. It might be
> valid C99 code, but my GCC still warns about it:
>
> arch/ppc64/kernel/rtas-proc.c: In function `ppc_rtas_poweron_read':
> arch/ppc64/kernel/rtas-proc.c:294: warning: ISO C90 forbids mixed
> declarations and code
> ..and so on..

Not all compilers seem to generate this warning.  Mine doesn't...
although I have noticed that other people's compilers do ...


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list