summaryrefslogtreecommitdiffstats
path: root/arch/sparc/boot/btfixupprep.c
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2009-10-16 14:58:29 -0700
committerJosh Triplett <josh@joshtriplett.org>2009-11-15 15:01:40 -0800
commitc843e315469a1519b83835628ca8906daf9a2c0a (patch)
treea08dc1f9695d3ee3b2b8c6105bc19262f2f80d92 /arch/sparc/boot/btfixupprep.c
parent95981e7de53a7c67dc32d7440c160947c134d8eb (diff)
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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc/boot/btfixupprep.c b/arch/sparc/boot/btfixupprep.c
index 52a4208fe4f..bbf91b9c3d3 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')