Commit 821d35a56044e522e811f6a1e8632cc230360280

Authored by Alan Cox
Committed by James Morris
1 parent dd8dbf2e68

selinux: Fix warnings

scripts/selinux/genheaders/genheaders.c:20: warning: no previous prototype
for ?usage?
scripts/selinux/genheaders/genheaders.c:26: warning: no previous prototype
for ?stoupperx?

Signed-off-by: Alan Cox <alan@linux.intel.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: James Morris <jmorris@namei.org>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

scripts/selinux/genheaders/genheaders.c
... ... @@ -17,13 +17,13 @@
17 17  
18 18 const char *progname;
19 19  
20   -void usage(void)
  20 +static void usage(void)
21 21 {
22 22 printf("usage: %s flask.h av_permissions.h\n", progname);
23 23 exit(1);
24 24 }
25 25  
26   -char *stoupperx(const char *s)
  26 +static char *stoupperx(const char *s)
27 27 {
28 28 char *s2 = strdup(s);
29 29 char *p;