diff options
author | Josh Triplett <josh@joshtriplett.org> | 2009-10-16 21:58:29 (GMT) |
---|---|---|
committer | Josh Triplett <josh@joshtriplett.org> | 2009-11-15 23:01:40 (GMT) |
commit | c843e315469a1519b83835628ca8906daf9a2c0a (patch) | |
tree | a08dc1f9695d3ee3b2b8c6105bc19262f2f80d92 /arch/sparc/boot/btfixupprep.c | |
parent | 95981e7de53a7c67dc32d7440c160947c134d8eb (diff) | |
download | linux-fsl-qoriq-c843e315469a1519b83835628ca8906daf9a2c0a.tar.xz |
arch/sparc/boot/*.c: Mark various internal functions static
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'arch/sparc/boot/btfixupprep.c')
-rw-r--r-- | arch/sparc/boot/btfixupprep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc/boot/btfixupprep.c b/arch/sparc/boot/btfixupprep.c index 52a4208..bbf91b9 100644 --- a/arch/sparc/boot/btfixupprep.c +++ b/arch/sparc/boot/btfixupprep.c @@ -61,14 +61,14 @@ unsigned long lastfoffset = -1; unsigned long lastfrelno; btfixup *lastf; -void fatal(void) __attribute__((noreturn)); -void fatal(void) +static void fatal(void) __attribute__((noreturn)); +static void fatal(void) { fprintf(stderr, "Malformed output from objdump\n%s\n", buffer); exit(1); } -btfixup *find(int type, char *name) +static btfixup *find(int type, char *name) { int i; for (i = 0; i < last; i++) { @@ -88,7 +88,7 @@ btfixup *find(int type, char *name) return array + last - 1; } -void set_mode (char *buffer) +static void set_mode (char *buffer) { for (mode = 0;; mode++) if (buffer[mode] < '0' || buffer[mode] > '9') |