summaryrefslogtreecommitdiffstats
path: root/scripts/conmakehash.c
diff options
context:
space:
mode:
authorTrevor Keith <tsrk@tsrk.net>2009-09-22 16:43:38 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 07:39:28 -0700
commit5c725138437837291db5c25f4a076ee852e806e3 (patch)
treeddd05a26b2aa65a7508546b22235dffa2f41f54f /scripts/conmakehash.c
parente898893399335514b10dfbd75598f8308976abe4 (diff)
downloadlinux-stable-5c725138437837291db5c25f4a076ee852e806e3.tar.gz
linux-stable-5c725138437837291db5c25f4a076ee852e806e3.tar.bz2
linux-stable-5c725138437837291db5c25f4a076ee852e806e3.zip
Fix all -Wmissing-prototypes warnings in x86 defconfig
Signed-off-by: Trevor Keith <tsrk@tsrk.net> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/conmakehash.c')
-rw-r--r--scripts/conmakehash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/conmakehash.c b/scripts/conmakehash.c
index e0c6891a9ad4..263a44d57fa9 100644
--- a/scripts/conmakehash.c
+++ b/scripts/conmakehash.c
@@ -24,14 +24,14 @@
typedef unsigned short unicode;
-void usage(char *argv0)
+static void usage(char *argv0)
{
fprintf(stderr, "Usage: \n"
" %s chartable [hashsize] [hashstep] [maxhashlevel]\n", argv0);
exit(EX_USAGE);
}
-int getunicode(char **p0)
+static int getunicode(char **p0)
{
char *p = *p0;
@@ -49,7 +49,7 @@ unicode unitable[MAX_FONTLEN][255];
/* Massive overkill, but who cares? */
int unicount[MAX_FONTLEN];
-void addpair(int fp, int un)
+static void addpair(int fp, int un)
{
int i;