# sh4-unknown-linux-gnu-gcc --version
sh4-unknown-linux-gnu-gcc (GCC) 4.1.1
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# make
kexec/arch/sh/kexec-netbsd-sh.c:29: warning: 'extern' is not at beginning of 
declaration

Signed-off-by: Simon Horman <[email protected]>

Index: kexec-tools/kexec/arch/sh/kexec-netbsd-sh.c
===================================================================
--- kexec-tools.orig/kexec/arch/sh/kexec-netbsd-sh.c    2010-02-01 
23:07:16.000000000 +1100
+++ kexec-tools/kexec/arch/sh/kexec-netbsd-sh.c 2010-02-01 23:07:22.000000000 
+1100
@@ -26,7 +26,7 @@
 #include <arch/options.h>
 
 static const int probe_debug = 0;
-const extern unsigned char netbsd_booter[];
+extern const unsigned char netbsd_booter[];
 
 /*
  * netbsd_sh_probe - sanity check the elf image


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

Reply via email to