diff options
author | Alan Cox <alan@linux.intel.com> | 2009-11-18 14:39:51 +0000 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-11-19 09:08:44 +1100 |
commit | 821d35a56044e522e811f6a1e8632cc230360280 (patch) | |
tree | d15da5efe90a46262e3fed0489f85d954ff41f8d /scripts/selinux/genheaders/genheaders.c | |
parent | dd8dbf2e6880e30c00b18600c962d0cb5a03c555 (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/selinux/genheaders/genheaders.c')
-rw-r--r-- | scripts/selinux/genheaders/genheaders.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/selinux/genheaders/genheaders.c b/scripts/selinux/genheaders/genheaders.c index 3b16145dabe..771b86f4619 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; |