mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 06:21:31 +00:00
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:
parent
66a570623b
commit
4356f48907
9 changed files with 43 additions and 43 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue