aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2009-02-04 17:28:26 -0500
committerJames Morris <jmorris@namei.org>2009-02-05 17:05:34 -0500
commit64c61d80a6e4c935a09ac5ff1d952967ca1268f8 (patch)
tree80d109d7b3218c925ee48d22254d704e23d31199
parentaa7168f47d912459a99a01c93714f447b44bfa72 (diff)
IMA: fix ima_delete_rules() definition
Fix ima_delete_rules() definition so sparse doesn't complain. Signed-off-by: James Morris <jmorris@namei.org>
-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)
400} 400}
401 401
402/* ima_delete_rules called to cleanup invalid policy */ 402/* ima_delete_rules called to cleanup invalid policy */
403void ima_delete_rules() 403void ima_delete_rules(void)
404{ 404{
405 struct ima_measure_rule_entry *entry, *tmp; 405 struct ima_measure_rule_entry *entry, *tmp;
406 406