summaryrefslogtreecommitdiff
path: root/src/journal
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
parent5f311f8c0e51e2f13773823feb6a71f7c6f2838c (diff)
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 fe3975b7b8..72d2bedc26 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 fecccd4eb9..07ca8dde0a 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 f388c30d2e..dddd5703f4 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 de4f73a471..5d000aedbb 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 72c1f60f02..c942df46a8 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 e562fa1948..db4fa15554 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 ac1239acc4..fdd48e531c 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"