aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-26 18:05:03 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:55 +0100
commit0d39fa9c69b97a2ceb156053deef69c0866c2b97 (patch)
treeffab9cf2924c42030cc235cdb1701cfe954958e7 /src/journal
parentutil: remove path_get_parent(), in favour of dirname_malloc() (diff)
downloadsystemd-0d39fa9c69b97a2ceb156053deef69c0866c2b97.tar.gz
systemd-0d39fa9c69b97a2ceb156053deef69c0866c2b97.tar.bz2
systemd-0d39fa9c69b97a2ceb156053deef69c0866c2b97.zip
util-lib: move more file I/O related calls into fileio.[ch]
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/catalog.c1
-rw-r--r--src/journal/coredumpctl.c1
-rw-r--r--src/journal/journal-send.c1
-rw-r--r--src/journal/journal-verify.c1
-rw-r--r--src/journal/test-catalog.c1
-rw-r--r--src/journal/test-compress.c1
-rw-r--r--src/journal/test-mmap-cache.c3
7 files changed, 8 insertions, 1 deletions
diff --git a/src/journal/catalog.c b/src/journal/catalog.c
index fe3975b7b..72d2bedc2 100644
--- a/src/journal/catalog.c
+++ b/src/journal/catalog.c
@@ -32,6 +32,7 @@
#include "catalog.h"
#include "conf-files.h"
#include "fd-util.h"
+#include "fileio.h"
#include "hashmap.h"
#include "log.h"
#include "mkdir.h"
diff --git a/src/journal/coredumpctl.c b/src/journal/coredumpctl.c
index fecccd4eb..07ca8dde0 100644
--- a/src/journal/coredumpctl.c
+++ b/src/journal/coredumpctl.c
@@ -30,6 +30,7 @@
#include "compress.h"
#include "fd-util.h"
+#include "fileio.h"
#include "journal-internal.h"
#include "log.h"
#include "macro.h"
diff --git a/src/journal/journal-send.c b/src/journal/journal-send.c
index f388c30d2..dddd5703f 100644
--- a/src/journal/journal-send.c
+++ b/src/journal/journal-send.c
@@ -32,6 +32,7 @@
#include "sd-journal.h"
#include "fd-util.h"
+#include "fileio.h"
#include "io-util.h"
#include "memfd-util.h"
#include "socket-util.h"
diff --git a/src/journal/journal-verify.c b/src/journal/journal-verify.c
index de4f73a47..5d000aedb 100644
--- a/src/journal/journal-verify.c
+++ b/src/journal/journal-verify.c
@@ -26,6 +26,7 @@
#include "compress.h"
#include "fd-util.h"
+#include "fileio.h"
#include "journal-authenticate.h"
#include "journal-def.h"
#include "journal-file.h"
diff --git a/src/journal/test-catalog.c b/src/journal/test-catalog.c
index 72c1f60f0..c942df46a 100644
--- a/src/journal/test-catalog.c
+++ b/src/journal/test-catalog.c
@@ -29,6 +29,7 @@
#include "catalog.h"
#include "fd-util.h"
+#include "fileio.h"
#include "log.h"
#include "macro.h"
#include "string-util.h"
diff --git a/src/journal/test-compress.c b/src/journal/test-compress.c
index e562fa194..db4fa1555 100644
--- a/src/journal/test-compress.c
+++ b/src/journal/test-compress.c
@@ -19,6 +19,7 @@
#include "compress.h"
#include "fd-util.h"
+#include "fileio.h"
#include "macro.h"
#include "random-util.h"
#include "util.h"
diff --git a/src/journal/test-mmap-cache.c b/src/journal/test-mmap-cache.c
index ac1239acc..fdd48e531 100644
--- a/src/journal/test-mmap-cache.c
+++ b/src/journal/test-mmap-cache.c
@@ -19,12 +19,13 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <fcntl.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <unistd.h>
-#include <fcntl.h>
#include "fd-util.h"
+#include "fileio.h"
#include "macro.h"
#include "mmap-cache.h"
#include "util.h"