summaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/conditional.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-30 14:19:02 +1000
committerEric Paris <eparis@redhat.com>2012-01-05 18:52:52 -0500
commit2653812e14f4e16688ec8247d7fd290bdbbc4747 (patch)
treedabb2238a76e000b37374c69901afd6f99479631 /security/selinux/ss/conditional.c
parent02f5daa563456c1ff3c3422aa3ec00e67460f762 (diff)
downloadlinux-2653812e14f4e16688ec8247d7fd290bdbbc4747.tar.gz
linux-2653812e14f4e16688ec8247d7fd290bdbbc4747.tar.bz2
linux-2653812e14f4e16688ec8247d7fd290bdbbc4747.zip
selinux: sparse fix: fix several warnings in the security server cod
Fix several sparse warnings in the SELinux security server code. Signed-off-by: James Morris <jmorris@namei.org> Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'security/selinux/ss/conditional.c')
-rw-r--r--security/selinux/ss/conditional.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/conditional.c b/security/selinux/ss/conditional.c
index a53373207fb4..2ec904177fe0 100644
--- a/security/selinux/ss/conditional.c
+++ b/security/selinux/ss/conditional.c
@@ -555,7 +555,7 @@ static int cond_write_av_list(struct policydb *p,
return 0;
}
-int cond_write_node(struct policydb *p, struct cond_node *node,
+static int cond_write_node(struct policydb *p, struct cond_node *node,
struct policy_file *fp)
{
struct cond_expr *cur_expr;