summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-05-18 17:10:07 +0200
committerLennart Poettering <lennart@poettering.net>2015-05-18 17:10:07 +0200
commit958b66ea16deddd794b3a52643bd44633e165ead (patch)
tree22e30bbfe7e3e81b12fe37cc5754342ec513e92c /src/core
parent3b920d78b4a58dd054917821734cf0aefc6232d0 (diff)
util: split all hostname related calls into hostname-util.c
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hostname-setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hostname-setup.c b/src/core/hostname-setup.c
index 03b0ce3b4d..217f201d05 100644
--- a/src/core/hostname-setup.c
+++ b/src/core/hostname-setup.c
@@ -23,11 +23,12 @@
#include <errno.h>
#include <stdlib.h>
-#include "hostname-setup.h"
#include "macro.h"
#include "util.h"
#include "log.h"
#include "fileio.h"
+#include "hostname-util.h"
+#include "hostname-setup.h"
static int read_and_strip_hostname(const char *path, char **hn) {
char *s;