diff options
author | James Morris <jmorris@namei.org> | 2011-08-30 14:19:02 +1000 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2012-01-05 18:52:52 -0500 |
commit | 2653812e14f4e16688ec8247d7fd290bdbbc4747 (patch) | |
tree | dabb2238a76e000b37374c69901afd6f99479631 /security/selinux/ss/conditional.c | |
parent | 02f5daa563456c1ff3c3422aa3ec00e67460f762 (diff) | |
download | linux-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.c | 2 |
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; |