Commit 821d35a5 authored by Alan Cox's avatar Alan Cox Committed by James Morris

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: default avatarAlan Cox <alan@linux.intel.com>
Acked-by: default avatarWANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent dd8dbf2e
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment