aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/conmakehash.c6
-rw-r--r--scripts/mod/modpost.c4
-rw-r--r--scripts/selinux/mdp/mdp.c4
-rw-r--r--usr/gen_init_cpio.c2
4 files changed, 8 insertions, 8 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 @@
24 24
25typedef unsigned short unicode; 25typedef unsigned short unicode;
26 26
27void usage(char *argv0) 27static void usage(char *argv0)
28{ 28{
29 fprintf(stderr, "Usage: \n" 29 fprintf(stderr, "Usage: \n"
30 " %s chartable [hashsize] [hashstep] [maxhashlevel]\n", argv0); 30 " %s chartable [hashsize] [hashstep] [maxhashlevel]\n", argv0);
31 exit(EX_USAGE); 31 exit(EX_USAGE);
32} 32}
33 33
34int getunicode(char **p0) 34static int getunicode(char **p0)
35{ 35{
36 char *p = *p0; 36 char *p = *p0;
37 37
@@ -49,7 +49,7 @@ unicode unitable[MAX_FONTLEN][255];
49 /* Massive overkill, but who cares? */ 49 /* Massive overkill, but who cares? */
50int unicount[MAX_FONTLEN]; 50int unicount[MAX_FONTLEN];
51 51
52void addpair(int fp, int un) 52static void addpair(int fp, int un)
53{ 53{
54 int i; 54 int i;
55 55
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 4522948a012e..801a16a17545 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -691,7 +691,7 @@ static int number_prefix(const char *sym)
691 * The $ syntax is for sections where ld append a dot number 691 * The $ syntax is for sections where ld append a dot number
692 * to make section name unique. 692 * to make section name unique.
693 */ 693 */
694int match(const char *sym, const char * const pat[]) 694static int match(const char *sym, const char * const pat[])
695{ 695{
696 const char *p; 696 const char *p;
697 while (*pat) { 697 while (*pat) {
@@ -1746,7 +1746,7 @@ static void add_header(struct buffer *b, struct module *mod)
1746 buf_printf(b, "};\n"); 1746 buf_printf(b, "};\n");
1747} 1747}
1748 1748
1749void add_staging_flag(struct buffer *b, const char *name) 1749static void add_staging_flag(struct buffer *b, const char *name)
1750{ 1750{
1751 static const char *staging_dir = "drivers/staging"; 1751 static const char *staging_dir = "drivers/staging";
1752 1752
diff --git a/scripts/selinux/mdp/mdp.c b/scripts/selinux/mdp/mdp.c
index ca757d486187..b4ced8562587 100644
--- a/scripts/selinux/mdp/mdp.c
+++ b/scripts/selinux/mdp/mdp.c
@@ -31,13 +31,13 @@
31 31
32#include "flask.h" 32#include "flask.h"
33 33
34void usage(char *name) 34static void usage(char *name)
35{ 35{
36 printf("usage: %s [-m] policy_file context_file\n", name); 36 printf("usage: %s [-m] policy_file context_file\n", name);
37 exit(1); 37 exit(1);
38} 38}
39 39
40void find_common_name(char *cname, char *dest, int len) 40static void find_common_name(char *cname, char *dest, int len)
41{ 41{
42 char *start, *end; 42 char *start, *end;
43 43
diff --git a/usr/gen_init_cpio.c b/usr/gen_init_cpio.c
index f1d3fe34176a..83b3dde1a83b 100644
--- a/usr/gen_init_cpio.c
+++ b/usr/gen_init_cpio.c
@@ -446,7 +446,7 @@ static int cpio_mkfile_line(const char *line)
446 return rc; 446 return rc;
447} 447}
448 448
449void usage(const char *prog) 449static void usage(const char *prog)
450{ 450{
451 fprintf(stderr, "Usage:\n" 451 fprintf(stderr, "Usage:\n"
452 "\t%s <cpio_list>\n" 452 "\t%s <cpio_list>\n"