IMA: fix ima_delete_rules() definition
James Morris [Wed, 4 Feb 2009 22:28:26 +0000 (09:28 +1100)]
Fix ima_delete_rules() definition so sparse doesn't complain.

Signed-off-by: James Morris <jmorris@namei.org>

security/integrity/ima/ima_policy.c

index bd45360..23810e0 100644 (file)
@@ -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;