diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-26 18:59:36 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-27 13:25:55 +0100 |
commit | bb15fafe9cd815fe5bf9eae84c08aead2eb98fd7 (patch) | |
tree | 57955c8d8a47196e17d4a2d3963766ad59ef3735 /src/shared | |
parent | 4349cd7c1d153c4ffa23cf1cff1644e0afa9bcf0 (diff) |
util: move filename_is_valid() and path_is_safe() to path-util.[ch]
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/dropin.c | 1 | ||||
-rw-r--r-- | src/shared/import-util.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/shared/dropin.c b/src/shared/dropin.c index 1836e91acd..25400277ff 100644 --- a/src/shared/dropin.c +++ b/src/shared/dropin.c @@ -25,6 +25,7 @@ #include "fd-util.h" #include "fileio-label.h" #include "mkdir.h" +#include "path-util.h" #include "string-util.h" #include "strv.h" #include "util.h" 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; |