提交 821d35a5 编写于 作者: A Alan Cox 提交者: 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: NAlan Cox <alan@linux.intel.com>
Acked-by: NWANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: NJames Morris <jmorris@namei.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册