From: Laurent Bigonville <bigon@xxxxxxxx> Fix "function declaration isn't a prototype" error when -Werror=strict-prototypes is set --- policycoreutils/sepolicy/policy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policycoreutils/sepolicy/policy.c b/policycoreutils/sepolicy/policy.c index 4eca22d..e454e75 100644 --- a/policycoreutils/sepolicy/policy.c +++ b/policycoreutils/sepolicy/policy.c @@ -87,7 +87,7 @@ static PyMethodDef methods[] = { {NULL, NULL, 0, NULL} /* sentinel */ }; -void init_policy() { +void init_policy(void) { PyObject *m; m = Py_InitModule("_policy", methods); init_info(m); -- 1.8.2.1 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.