diff options
author | Alan Cox <alan@linux.intel.com> | 2009-11-18 15:39:51 +0100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-11-18 23:08:44 +0100 |
commit | 821d35a56044e522e811f6a1e8632cc230360280 (patch) | |
tree | d15da5efe90a46262e3fed0489f85d954ff41f8d /scripts | |
parent | security: report the module name to security_module_request (diff) | |
download | linux-821d35a56044e522e811f6a1e8632cc230360280.tar.xz 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.c | 4 |
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; |