diff options
author | Josh Triplett <josh@joshtriplett.org> | 2009-10-16 23:58:29 +0200 |
---|---|---|
committer | Josh Triplett <josh@joshtriplett.org> | 2009-11-16 00:01:40 +0100 |
commit | c843e315469a1519b83835628ca8906daf9a2c0a (patch) | |
tree | a08dc1f9695d3ee3b2b8c6105bc19262f2f80d92 /arch/sparc/boot/btfixupprep.c | |
parent | arch/powerpc/boot/addRamDisk.c: Mark several internal functions static (diff) | |
download | linux-c843e315469a1519b83835628ca8906daf9a2c0a.tar.xz linux-c843e315469a1519b83835628ca8906daf9a2c0a.zip |
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 52a4208fe4f0..bbf91b9c3d39 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') |