X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fpython-systemd%2F_journal.c;h=ced52b2f5283369fbe366e9a72b89257d5331f52;hp=eab9c2982ceeafee146e85cb31914096b8609e0c;hb=082cca735b831228a465e9c8e3af65d239b286af;hpb=c4164442defa56dfa92a6b0fa5d49d8876e0ebb7 diff --git a/src/python-systemd/_journal.c b/src/python-systemd/_journal.c index eab9c2982..ced52b2f5 100644 --- a/src/python-systemd/_journal.c +++ b/src/python-systemd/_journal.c @@ -3,7 +3,7 @@ /*** This file is part of systemd. - Copyright 2012 David Strauss + Copyright 2012 David Strauss systemd is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by @@ -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) { @@ -134,3 +137,5 @@ PyMODINIT_FUNC PyInit__journal(void) { } #endif + +#pragma GCC diagnostic pop