From 059247a62f40c7e045181d41f0e28f5d83a47436 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 13 Sep 2012 19:34:09 +0200 Subject: python: make gcc shut up --- systemd/_journal.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'systemd') diff --git a/systemd/_journal.c b/systemd/_journal.c index eab9c29..d27178d 100644 --- a/systemd/_journal.c +++ b/systemd/_journal.c @@ -113,6 +113,9 @@ static PyMethodDef methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wmissing-prototypes" + #if PY_MAJOR_VERSION < 3 PyMODINIT_FUNC init_journal(void) { @@ -133,4 +136,6 @@ PyMODINIT_FUNC PyInit__journal(void) { return PyModule_Create(&module); } +#pragma GCC diagnostic pop + #endif -- cgit v1.2.1