diff options
Diffstat (limited to 'src/python-systemd/_reader.c')
-rw-r--r-- | src/python-systemd/_reader.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/python-systemd/_reader.c b/src/python-systemd/_reader.c index ee25c49741..224a9169e6 100644 --- a/src/python-systemd/_reader.c +++ b/src/python-systemd/_reader.c @@ -1046,8 +1046,7 @@ static PyModuleDef module = { static bool initialized = false; #endif -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wmissing-prototypes" +DISABLE_WARNING_MISSING_PROTOTYPES; PyMODINIT_FUNC #if PY_MAJOR_VERSION >= 3 @@ -1110,4 +1109,4 @@ init_reader(void) #endif } -#pragma GCC diagnostic pop +REENABLE_WARNING; |