chiark / gitweb /
python/docs: use the same links on top as in man pages
[elogind.git] / src / python-systemd / _journal.c
index eab9c2982ceeafee146e85cb31914096b8609e0c..ced52b2f5283369fbe366e9a72b89257d5331f52 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
@@ -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