summaryrefslogtreecommitdiff
path: root/src/shared/import-util.c
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/shared/import-util.c
parent4349cd7c1d153c4ffa23cf1cff1644e0afa9bcf0 (diff)
util: move filename_is_valid() and path_is_safe() to path-util.[ch]
Diffstat (limited to 'src/shared/import-util.c')
-rw-r--r--src/shared/import-util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/import-util.c b/src/shared/import-util.c
index c4c66c847d..b50e86b944 100644
--- a/src/shared/import-util.c
+++ b/src/shared/import-util.c
@@ -20,9 +20,10 @@
***/
#include "btrfs-util.h"
+#include "import-util.h"
+#include "path-util.h"
#include "string-util.h"
#include "util.h"
-#include "import-util.h"
int import_url_last_component(const char *url, char **ret) {
const char *e, *p;