aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-11-18 09:39:51 -0500
committerJames Morris <jmorris@namei.org>2009-11-18 17:08:44 -0500
commit821d35a56044e522e811f6a1e8632cc230360280 (patch)
treed15da5efe90a46262e3fed0489f85d954ff41f8d /scripts
parentdd8dbf2e6880e30c00b18600c962d0cb5a03c555 (diff)
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/selinux/genheaders/genheaders.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/selinux/genheaders/genheaders.c b/scripts/selinux/genheaders/genheaders.c
index 3b16145dabe3..771b86f46194 100644
--- a/scripts/selinux/genheaders/genheaders.c
+++ b/scripts/selinux/genheaders/genheaders.c
@@ -17,13 +17,13 @@ struct security_class_mapping {
17 17
18const char *progname; 18const char *progname;
19 19
20void usage(void) 20static void usage(void)
21{ 21{
22 printf("usage: %s flask.h av_permissions.h\n", progname); 22 printf("usage: %s flask.h av_permissions.h\n", progname);
23 exit(1); 23 exit(1);
24} 24}
25 25
26char *stoupperx(const char *s) 26static char *stoupperx(const char *s)
27{ 27{
28 char *s2 = strdup(s); 28 char *s2 = strdup(s);
29 char *p; 29 char *p;