summaryrefslogtreecommitdiffstats
path: root/security/integrity
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2009-02-05 09:28:26 +1100
committerJames Morris <jmorris@namei.org>2009-02-06 09:05:34 +1100
commit64c61d80a6e4c935a09ac5ff1d952967ca1268f8 (patch)
tree80d109d7b3218c925ee48d22254d704e23d31199 /security/integrity
parentaa7168f47d912459a99a01c93714f447b44bfa72 (diff)
downloadlinux-64c61d80a6e4c935a09ac5ff1d952967ca1268f8.tar.bz2
IMA: fix ima_delete_rules() definition
Fix ima_delete_rules() definition so sparse doesn't complain. Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/integrity')
-rw-r--r--security/integrity/ima/ima_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_policy.c b/security/integrity/ima/ima_policy.c
index bd453603e2c3..23810e0bfc68 100644
--- a/security/integrity/ima/ima_policy.c
+++ b/security/integrity/ima/ima_policy.c
@@ -400,7 +400,7 @@ int ima_parse_add_rule(char *rule)
}
/* ima_delete_rules called to cleanup invalid policy */
-void ima_delete_rules()
+void ima_delete_rules(void)
{
struct ima_measure_rule_entry *entry, *tmp;