diff options
author | Josh Triplett <josh@joshtriplett.org> | 2009-10-16 14:52:05 -0700 |
---|---|---|
committer | Josh Triplett <josh@joshtriplett.org> | 2009-11-15 15:01:39 -0800 |
commit | 95981e7de53a7c67dc32d7440c160947c134d8eb (patch) | |
tree | aeeda0daff525710bf5dbd7eb59c6925a9f06d45 | |
parent | ad0cd62ab632afe9b562b5f09343c21e1521505d (diff) | |
download | linux-95981e7de53a7c67dc32d7440c160947c134d8eb.tar.gz linux-95981e7de53a7c67dc32d7440c160947c134d8eb.tar.bz2 linux-95981e7de53a7c67dc32d7440c160947c134d8eb.zip |
arch/powerpc/boot/addRamDisk.c: Mark several internal functions static
Nothing outside of arch/powerpc/boot/addRamDisk.c references the
functions "get4k", "put4k", or "death".
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
-rw-r--r-- | arch/powerpc/boot/addRamDisk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/boot/addRamDisk.c b/arch/powerpc/boot/addRamDisk.c index c02a99952be7..893f446cbd22 100644 --- a/arch/powerpc/boot/addRamDisk.c +++ b/arch/powerpc/boot/addRamDisk.c @@ -58,7 +58,7 @@ static int check_elf64(void *p, int size, struct addr_range *r) return 64; } -void get4k(FILE *file, char *buf ) +static void get4k(FILE *file, char *buf ) { unsigned j; unsigned num = fread(buf, 1, 4096, file); @@ -66,12 +66,12 @@ void get4k(FILE *file, char *buf ) buf[j] = 0; } -void put4k(FILE *file, char *buf ) +static void put4k(FILE *file, char *buf ) { fwrite(buf, 1, 4096, file); } -void death(const char *msg, FILE *fdesc, const char *fname) +static void death(const char *msg, FILE *fdesc, const char *fname) { fprintf(stderr, msg); fclose(fdesc); |