summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-11-18 14:39:51 +0000
committerJames Morris <jmorris@namei.org>2009-11-19 09:08:44 +1100
commit821d35a56044e522e811f6a1e8632cc230360280 (patch)
treed15da5efe90a46262e3fed0489f85d954ff41f8d /scripts
parentdd8dbf2e6880e30c00b18600c962d0cb5a03c555 (diff)
downloadlinux-821d35a56044e522e811f6a1e8632cc230360280.tar.gz
linux-821d35a56044e522e811f6a1e8632cc230360280.tar.bz2
linux-821d35a56044e522e811f6a1e8632cc230360280.zip
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 {
const char *progname;
-void usage(void)
+static void usage(void)
{
printf("usage: %s flask.h av_permissions.h\n", progname);
exit(1);
}
-char *stoupperx(const char *s)
+static char *stoupperx(const char *s)
{
char *s2 = strdup(s);
char *p;