Skip to content

Commit

Permalink
selinux: Fix warnings
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: WANG Cong <[email protected]>
Signed-off-by: James Morris <[email protected]>
  • Loading branch information
Alan Cox authored and James Morris committed Nov 18, 2009
1 parent dd8dbf2 commit 821d35a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/selinux/genheaders/genheaders.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 821d35a

Please sign in to comment.