Warnings found via gcc -Wmissing-prototypes.
Showing the changes to scripts/basic/hash.c (1 of 9 files). Show all
Unified · Split
| @@ -21,7 +21,7 @@ static void usage(void) · 20 unmodified lines | ||
| 21 | 21 | * http://www.cse.yorku.ca/~oz/hash.html |
| 22 | 22 | */ |
| 23 | 23 | |
| 24 | −unsigned int djb2_hash(char *str) | |
| 24 | +static unsigned int djb2_hash(char *str) | |
| 25 | 25 | { |
| 26 | 26 | unsigned long hash = 5381; |
| 27 | 27 | int c; |
| @@ -34,7 +34,7 @@ unsigned int djb2_hash(char *str) · 6 unmodified lines | ||
| 34 | 34 | return (unsigned int)(hash & ((1 << DYNAMIC_DEBUG_HASH_BITS) - 1)); |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | −unsigned int r5_hash(char *str) | |
| 37 | +static unsigned int r5_hash(char *str) | |
| 38 | 38 | { |
| 39 | 39 | unsigned long hash = 0; |
| 40 | 40 | int c; |