diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-05-18 17:10:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-05-18 17:10:07 +0200 |
commit | 958b66ea16deddd794b3a52643bd44633e165ead (patch) | |
tree | 22e30bbfe7e3e81b12fe37cc5754342ec513e92c /src/journal | |
parent | 3b920d78b4a58dd054917821734cf0aefc6232d0 (diff) |
util: split all hostname related calls into hostname-util.c
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/journalctl.c | 1 | ||||
-rw-r--r-- | src/journal/journald-server.c | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 627e43ba35..09f4e0fe38 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -61,6 +61,7 @@ #include "bus-util.h" #include "bus-error.h" #include "terminal-util.h" +#include "hostname-util.h" #define DEFAULT_FSS_INTERVAL_USEC (15*USEC_PER_MINUTE) diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index 5e07ce3c49..b3a4b53080 100644 --- a/src/journal/journald-server.c +++ b/src/journal/journald-server.c @@ -39,6 +39,10 @@ #include "missing.h" #include "conf-parser.h" #include "selinux-util.h" +#include "acl-util.h" +#include "formats-util.h" +#include "process-util.h" +#include "hostname-util.h" #include "journal-internal.h" #include "journal-vacuum.h" #include "journal-authenticate.h" @@ -49,9 +53,6 @@ #include "journald-native.h" #include "journald-audit.h" #include "journald-server.h" -#include "acl-util.h" -#include "formats-util.h" -#include "process-util.h" #ifdef HAVE_SELINUX #include <selinux/selinux.h> |