summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 00:40:25 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:57 +0100
commit7ccbd1ae843d77275f2c542582a9a80e5e058a70 (patch)
treebe4ca438784d483cce332973b7cc919091eea97c /src/journal
parentd21be5ff9177b25064f6e933e91f2c19a7190c19 (diff)
util-lib: split out syslog-related calls into syslog-util.[ch]
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/cat.c1
-rw-r--r--src/journal/journalctl.c1
-rw-r--r--src/journal/journald-stream.c1
-rw-r--r--src/journal/journald-syslog.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/journal/cat.c b/src/journal/cat.c
index 95a1868b93..7fd4198df8 100644
--- a/src/journal/cat.c
+++ b/src/journal/cat.c
@@ -31,6 +31,7 @@
#include "fd-util.h"
#include "parse-util.h"
#include "string-util.h"
+#include "syslog-util.h"
#include "util.h"
static char *arg_identifier = NULL;
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index 8b8c50b436..1965522dfd 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -65,6 +65,7 @@
#include "set.h"
#include "sigbus.h"
#include "strv.h"
+#include "syslog-util.h"
#include "terminal-util.h"
#include "unit-name.h"
#include "user-util.h"
diff --git a/src/journal/journald-stream.c b/src/journal/journald-stream.c
index a9c940690f..8d9c416bc9 100644
--- a/src/journal/journald-stream.c
+++ b/src/journal/journald-stream.c
@@ -44,6 +44,7 @@
#include "selinux-util.h"
#include "socket-util.h"
#include "string-util.h"
+#include "syslog-util.h"
#define STDOUT_STREAMS_MAX 4096
diff --git a/src/journal/journald-syslog.c b/src/journal/journald-syslog.c
index 7e9ba12560..488cccb6d9 100644
--- a/src/journal/journald-syslog.c
+++ b/src/journal/journald-syslog.c
@@ -36,6 +36,7 @@
#include "selinux-util.h"
#include "socket-util.h"
#include "string-util.h"
+#include "syslog-util.h"
/* Warn once every 30s if we missed syslog message */
#define WARN_FORWARD_SYSLOG_MISSED_USEC (30 * USEC_PER_SEC)