OSDN Git Service

IMA: fix non-ANSI declaration of ima_check_policy()
authorColin Ian King <colin.king@canonical.com>
Wed, 20 Jan 2016 11:13:46 +0000 (11:13 +0000)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Mon, 8 Feb 2016 23:17:38 +0000 (18:17 -0500)
commitc75d8e96f377b59b887a81b31adb00dd1957c3c8
tree4d77e79a7e7b021ca04bd2bacf16e82b73d8cf33
parent388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95
IMA: fix non-ANSI declaration of ima_check_policy()

ima_check_policy() has no parameters, so use the normal void
parameter convention to make it match the prototype in the header file
security/integrity/ima/ima.h

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/ima/ima_policy.c