summaryrefslogtreecommitdiff
path: root/systemd/_journal.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-13 04:01:18 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-07-05 14:19:08 -0400
commit683fd2a640db4f973ff5f975f013f302db26e82a (patch)
tree960656541e75563f92a29b24361594be54bb0ff3 /systemd/_journal.c
parent5f531b971e8c75cd9c93044dcdd46880c65d0502 (diff)
downloadpython-systemd-683fd2a640db4f973ff5f975f013f302db26e82a.tar.gz
python: integrate David Strauss' python-systemd package
Diffstat (limited to 'systemd/_journal.c')
-rw-r--r--systemd/_journal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/systemd/_journal.c b/systemd/_journal.c
index b766ec6..3e10981 100644
--- a/systemd/_journal.c
+++ b/systemd/_journal.c
@@ -1,7 +1,10 @@
#include <Python.h>
+
#define SD_JOURNAL_SUPPRESS_LOCATION
#include <systemd/sd-journal.h>
+#include "macro.h"
+
PyDoc_STRVAR(journal_sendv__doc__,
"sendv('FIELD=value', 'FIELD=value', ...) -> None\n\n"
"Send an entry to the journal."