X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fpython-systemd%2F_reader.c;h=224a9169e6d00a9f290a0038c5ee99218c6a535f;hp=ee25c49741e97fe5474f7f1842689da2d8e44343;hb=f0f2e63bb2d5cd27e6a2464ee46a670a3159c5da;hpb=bcfce235a3d757f0ec3b0c01e8583382db1adfe2 diff --git a/src/python-systemd/_reader.c b/src/python-systemd/_reader.c index ee25c4974..224a9169e 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;