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>
This commit is contained in:
Alan Cox 2009-11-18 14:39:51 +00:00 committed by James Morris
parent dd8dbf2e68
commit 821d35a560
1 changed files with 2 additions and 2 deletions

View File

@ -17,13 +17,13 @@ struct security_class_mapping {
const char *progname; const char *progname;
void usage(void) static void usage(void)
{ {
printf("usage: %s flask.h av_permissions.h\n", progname); printf("usage: %s flask.h av_permissions.h\n", progname);
exit(1); exit(1);
} }
char *stoupperx(const char *s) static char *stoupperx(const char *s)
{ {
char *s2 = strdup(s); char *s2 = strdup(s);
char *p; char *p;