mirror of
https://github.com/adulau/aha.git
synced 2024-12-26 18:56:14 +00:00
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:
parent
dd8dbf2e68
commit
821d35a560
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue