diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-26 20:07:55 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-27 13:25:56 +0100 |
commit | a09561746f15b84da9471b5c4be74e53d19e4f3f (patch) | |
tree | e99301f014ab8d150891d936ca061e369f7bae33 /src/journal | |
parent | 78f22b973fa2c9b09bd974680836df17163d9ee0 (diff) |
util-lib: introduce dirent-util.[ch] for directory entry calls
Also, move a couple of more path-related functions to path-util.c.
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/coredump-vacuum.c | 1 | ||||
-rw-r--r-- | src/journal/coredump.c | 1 | ||||
-rw-r--r-- | src/journal/journal-vacuum.c | 1 | ||||
-rw-r--r-- | src/journal/journald-server.c | 1 | ||||
-rw-r--r-- | src/journal/journald-stream.c | 1 | ||||
-rw-r--r-- | src/journal/sd-journal.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/src/journal/coredump-vacuum.c b/src/journal/coredump-vacuum.c index bad6ea4242..9635db19e1 100644 --- a/src/journal/coredump-vacuum.c +++ b/src/journal/coredump-vacuum.c @@ -22,6 +22,7 @@ #include <sys/statvfs.h> #include "coredump-vacuum.h" +#include "dirent-util.h" #include "fd-util.h" #include "hashmap.h" #include "macro.h" diff --git a/src/journal/coredump.c b/src/journal/coredump.c index 92f598464a..ec57920d2e 100644 --- a/src/journal/coredump.c +++ b/src/journal/coredump.c @@ -40,6 +40,7 @@ #include "conf-parser.h" #include "copy.h" #include "coredump-vacuum.h" +#include "dirent-util.h" #include "escape.h" #include "fd-util.h" #include "fileio.h" diff --git a/src/journal/journal-vacuum.c b/src/journal/journal-vacuum.c index 026dca4901..d3add065d2 100644 --- a/src/journal/journal-vacuum.c +++ b/src/journal/journal-vacuum.c @@ -25,6 +25,7 @@ #include "sd-id128.h" +#include "dirent-util.h" #include "fd-util.h" #include "journal-def.h" #include "journal-file.h" diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index f286e3030f..6e6d9c1c4a 100644 --- a/src/journal/journald-server.c +++ b/src/journal/journald-server.c @@ -36,6 +36,7 @@ #include "acl-util.h" #include "cgroup-util.h" #include "conf-parser.h" +#include "dirent-util.h" #include "extract-word.h" #include "fd-util.h" #include "formats-util.h" diff --git a/src/journal/journald-stream.c b/src/journal/journald-stream.c index 6745864da1..a9c940690f 100644 --- a/src/journal/journald-stream.c +++ b/src/journal/journald-stream.c @@ -29,6 +29,7 @@ #include "sd-daemon.h" #include "sd-event.h" +#include "dirent-util.h" #include "escape.h" #include "fd-util.h" #include "fileio.h" diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c index 9dcfc726ea..cfe1623e5b 100644 --- a/src/journal/sd-journal.c +++ b/src/journal/sd-journal.c @@ -32,6 +32,7 @@ #include "catalog.h" #include "compress.h" +#include "dirent-util.h" #include "fd-util.h" #include "fileio.h" #include "formats-util.h" |