diff options
author | James Morris <jmorris@namei.org> | 2009-02-04 17:28:26 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-02-05 17:05:34 -0500 |
commit | 64c61d80a6e4c935a09ac5ff1d952967ca1268f8 (patch) | |
tree | 80d109d7b3218c925ee48d22254d704e23d31199 /security | |
parent | aa7168f47d912459a99a01c93714f447b44bfa72 (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>
Diffstat (limited to 'security')
-rw-r--r-- | security/integrity/ima/ima_policy.c | 2 |
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 */ |
403 | void ima_delete_rules() | 403 | void ima_delete_rules(void) |
404 | { | 404 | { |
405 | struct ima_measure_rule_entry *entry, *tmp; | 405 | struct ima_measure_rule_entry *entry, *tmp; |
406 | 406 | ||