From: James Morris <jmorris(a)namei.org>
Fix ima_delete_rules() definition so sparse doesn't complain.
Signed-off-by: James Morris <jmorris(a)namei.org>
---
diff --git a/security/integrity/ima/ima_policy.c b/security/integrity/ima/ima_policy.c
index bd45360..23810e0 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;
--
1.5.6.6