kbuild: add static to prototypes

Warnings found via gcc -Wmissing-prototypes.

Signed-off-by: Trevor Keith <tsrk@tsrk.net>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
Trevor Keith 2009-09-18 12:49:23 -07:00 committed by Sam Ravnborg
parent 66a570623b
commit 4356f48907
9 changed files with 43 additions and 43 deletions

View file

@ -21,7 +21,7 @@ static void usage(void)
* http://www.cse.yorku.ca/~oz/hash.html
*/
unsigned int djb2_hash(char *str)
static unsigned int djb2_hash(char *str)
{
unsigned long hash = 5381;
int c;
@ -34,7 +34,7 @@ unsigned int djb2_hash(char *str)
return (unsigned int)(hash & ((1 << DYNAMIC_DEBUG_HASH_BITS) - 1));
}
unsigned int r5_hash(char *str)
static unsigned int r5_hash(char *str)
{
unsigned long hash = 0;
int c;