IMA: fix ima_delete_rules() definition
authorJames Morris <jmorris@namei.org>
Wed, 4 Feb 2009 22:28:26 +0000 (09:28 +1100)
committerJames Morris <jmorris@namei.org>
Thu, 5 Feb 2009 22:05:34 +0000 (09:05 +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 bd453603e2c3b71aad2810abc4937052cda76104..23810e0bfc68a2f92c70d00ef6e9fa49a7f0750e 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;