diff options
author | James Morris <jmorris@namei.org> | 2009-02-05 09:28:26 +1100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-02-06 09:05:34 +1100 |
commit | 64c61d80a6e4c935a09ac5ff1d952967ca1268f8 (patch) | |
tree | 80d109d7b3218c925ee48d22254d704e23d31199 /security/integrity | |
parent | aa7168f47d912459a99a01c93714f447b44bfa72 (diff) | |
download | lwn-64c61d80a6e4c935a09ac5ff1d952967ca1268f8.tar.gz lwn-64c61d80a6e4c935a09ac5ff1d952967ca1268f8.zip |
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/integrity')
-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) } /* ima_delete_rules called to cleanup invalid policy */ -void ima_delete_rules() +void ima_delete_rules(void) { struct ima_measure_rule_entry *entry, *tmp; |