summaryrefslogtreecommitdiff
path: root/src/hostname
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-26 18:59:36 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:55 +0100
commitbb15fafe9cd815fe5bf9eae84c08aead2eb98fd7 (patch)
tree57955c8d8a47196e17d4a2d3963766ad59ef3735 /src/hostname
parent4349cd7c1d153c4ffa23cf1cff1644e0afa9bcf0 (diff)
util: move filename_is_valid() and path_is_safe() to path-util.[ch]
Diffstat (limited to 'src/hostname')
-rw-r--r--src/hostname/hostnamed.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c
index 8bff7d4b39..a42124288d 100644
--- a/src/hostname/hostnamed.c
+++ b/src/hostname/hostnamed.c
@@ -31,6 +31,7 @@
#include "fileio-label.h"
#include "hostname-util.h"
#include "parse-util.h"
+#include "path-util.h"
#include "selinux-util.h"
#include "strv.h"
#include "util.h"