X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fpython-systemd%2F_journal.c;h=2de0d4f91d5f5eb37511e08810c2eaf2a717d4d5;hb=8411d2a2b15ec8020cd563162cf1b372d8c0319a;hp=d27178d666e1003a4c027ed4fcdbf4e67a9385b4;hpb=ff89a42a8602443b9a74be276cf3ee351b3914c7;p=elogind.git diff --git a/src/python-systemd/_journal.c b/src/python-systemd/_journal.c index d27178d66..2de0d4f91 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 @@ -128,7 +128,7 @@ static struct PyModuleDef module = { PyModuleDef_HEAD_INIT, "_journal", /* name of module */ NULL, /* module documentation, may be NULL */ - 0, /* size of per-interpreter state of the module */ + -1, /* size of per-interpreter state of the module */ methods }; @@ -136,6 +136,6 @@ PyMODINIT_FUNC PyInit__journal(void) { return PyModule_Create(&module); } -#pragma GCC diagnostic pop - #endif + +#pragma GCC diagnostic pop