summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2010-02-02 14:42:02 +1100
committerSimon Horman <horms@verge.net.au>2010-02-02 14:42:02 +1100
commiteb5a7cd0117e8d6d31ad8f87af4e6ce9042a3c01 (patch)
treed3c9bee9f73a2e1889d198b82cd12676abea41eb
parent9e60b0fce6e17e6a67f4b2babca1b30b3e72edcf (diff)
sh: netbsd_booter extern qualifier should come first
# 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 <horms@verge.net.au>
-rw-r--r--kexec/arch/sh/kexec-netbsd-sh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/arch/sh/kexec-netbsd-sh.c b/kexec/arch/sh/kexec-netbsd-sh.c
index ea67172..8e80486 100644
--- a/kexec/arch/sh/kexec-netbsd-sh.c
+++ b/kexec/arch/sh/kexec-netbsd-sh.c
@@ -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