[Etherboot-developers] tidy ups
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <ke...@us...> - 2003-03-17 01:25:16
|
I've just checked in a bunch of tidy ups to source files to remove unused variable warnings. I've also got rid of line that was causing the shell to barf on a FP number in arch/i386/Makefile. Does anybody know how to declare the unused attribute on function parameters, and just as important, does it work with older gcc versions like 2.95? Does anybody know how to get rid of these warnings? I assume this is because they are now predeclared in gcc 3.x? arch/i386/include/bits/string.h:254: warning: static declaration for `strncmp' follows non-static arch/i386/include/bits/string.h:277: warning: static declaration for `strlen' follows non-static |