summaryrefslogtreecommitdiffstats
path: root/arch/sparc/boot/piggyback_32.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/piggyback_32.c
parent95981e7de53a7c67dc32d7440c160947c134d8eb (diff)
downloadlinux-c843e315469a1519b83835628ca8906daf9a2c0a.tar.gz
linux-c843e315469a1519b83835628ca8906daf9a2c0a.tar.bz2
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/piggyback_32.c')
-rw-r--r--arch/sparc/boot/piggyback_32.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/sparc/boot/piggyback_32.c b/arch/sparc/boot/piggyback_32.c
index e8dc9adfcd61..ac944aec7301 100644
--- a/arch/sparc/boot/piggyback_32.c
+++ b/arch/sparc/boot/piggyback_32.c
@@ -35,17 +35,17 @@
* as PROM looks for a.out image only.
*/
-unsigned short ld2(char *p)
+static unsigned short ld2(char *p)
{
return (p[0] << 8) | p[1];
}
-unsigned int ld4(char *p)
+static unsigned int ld4(char *p)
{
return (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3];
}
-void st4(char *p, unsigned int x)
+static void st4(char *p, unsigned int x)
{
p[0] = x >> 24;
p[1] = x >> 16;
@@ -53,7 +53,7 @@ void st4(char *p, unsigned int x)
p[3] = x;
}
-void usage(void)
+static void usage(void)
{
/* fs_img.gz is an image of initial ramdisk. */
fprintf(stderr, "Usage: piggyback vmlinux.aout System.map fs_img.gz\n");
@@ -61,7 +61,7 @@ void usage(void)
exit(1);
}
-void die(char *str)
+static void die(char *str)
{
perror (str);
exit(1);