mirror of https://gitee.com/openkylin/linux.git
IMA: fix ima_delete_rules() definition
Fix ima_delete_rules() definition so sparse doesn't complain. Signed-off-by: James Morris <jmorris@namei.org>
This commit is contained in:
parent
aa7168f47d
commit
64c61d80a6
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue