chiark / gitweb /
Remove some unused variables
[elogind.git] / src / python-systemd / _journal.c
index d27178d666e1003a4c027ed4fcdbf4e67a9385b4..2de0d4f91d5f5eb37511e08810c2eaf2a717d4d5 100644 (file)
@@ -3,7 +3,7 @@
 /***
   This file is part of systemd.
 
-  Copyright 2012 David Strauss
+  Copyright 2012 David Strauss <david@davidstrauss.net>
 
   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