summaryrefslogtreecommitdiff
path: root/src/libsystemd
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/libsystemd
parent5f311f8c0e51e2f13773823feb6a71f7c6f2838c (diff)
util-lib: move more file I/O related calls into fileio.[ch]
Diffstat (limited to 'src/libsystemd')
-rw-r--r--src/libsystemd/sd-bus/bus-dump.c3
-rw-r--r--src/libsystemd/sd-bus/bus-introspect.c1
-rw-r--r--src/libsystemd/sd-bus/bus-match.c1
-rw-r--r--src/libsystemd/sd-path/sd-path.c1
4 files changed, 5 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-dump.c b/src/libsystemd/sd-bus/bus-dump.c
index cd7fcc7c80..9ddd059072 100644
--- a/src/libsystemd/sd-bus/bus-dump.c
+++ b/src/libsystemd/sd-bus/bus-dump.c
@@ -19,18 +19,19 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include "bus-dump.h"
#include "bus-internal.h"
#include "bus-message.h"
#include "bus-type.h"
#include "cap-list.h"
#include "capability.h"
+#include "fileio.h"
#include "formats-util.h"
#include "macro.h"
#include "string-util.h"
#include "strv.h"
#include "terminal-util.h"
#include "util.h"
-#include "bus-dump.h"
static char *indent(unsigned level, unsigned flags) {
char *p;
diff --git a/src/libsystemd/sd-bus/bus-introspect.c b/src/libsystemd/sd-bus/bus-introspect.c
index f5a8885332..a90536bac9 100644
--- a/src/libsystemd/sd-bus/bus-introspect.c
+++ b/src/libsystemd/sd-bus/bus-introspect.c
@@ -24,6 +24,7 @@
#include "bus-protocol.h"
#include "bus-signature.h"
#include "fd-util.h"
+#include "fileio.h"
#include "string-util.h"
#include "util.h"
diff --git a/src/libsystemd/sd-bus/bus-match.c b/src/libsystemd/sd-bus/bus-match.c
index fca3ebd394..6a37f22c1f 100644
--- a/src/libsystemd/sd-bus/bus-match.c
+++ b/src/libsystemd/sd-bus/bus-match.c
@@ -24,6 +24,7 @@
#include "bus-message.h"
#include "bus-util.h"
#include "fd-util.h"
+#include "fileio.h"
#include "hexdecoct.h"
#include "string-util.h"
#include "strv.h"
diff --git a/src/libsystemd/sd-path/sd-path.c b/src/libsystemd/sd-path/sd-path.c
index 8e3eeb15d8..c1d42e96e5 100644
--- a/src/libsystemd/sd-path/sd-path.c
+++ b/src/libsystemd/sd-path/sd-path.c
@@ -21,6 +21,7 @@
#include "architecture.h"
#include "fd-util.h"
+#include "fileio.h"
#include "missing.h"
#include "path-util.h"
#include "string-util.h"