summaryrefslogtreecommitdiffstats
path: root/src/libsystemd/sd-bus
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-10-19 16:01:38 +0200
committerLennart Poettering <lennart@poettering.net>2023-10-20 10:34:33 +0200
commitbd1ae178336a3d9143feea35bb4885c923581e1d (patch)
treeace0e0a86173f28b68adb4359a1f11a44097ddce /src/libsystemd/sd-bus
parentexecutor: return instead of assert on invalid command line arguments (diff)
downloadsystemd-bd1ae178336a3d9143feea35bb4885c923581e1d.tar.xz
systemd-bd1ae178336a3d9143feea35bb4885c923581e1d.zip
io-util: split out "struct iovec" related calls into their own .c/.h files
This is preparation for #28891, which adds a bunch more helpers around "struct iovec", at which point this really deserves its own .c/.h file. The idea is that we sooner or later can consider "struct iovec" as an entirely generic mechanism to reference some binary blob, and is the go-to type for this purpose whenever we need one.
Diffstat (limited to 'src/libsystemd/sd-bus')
-rw-r--r--src/libsystemd/sd-bus/bus-message.c2
-rw-r--r--src/libsystemd/sd-bus/bus-socket.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/sd-bus/bus-message.c
index f1cf6a8cc4..150e7c9b9e 100644
--- a/src/libsystemd/sd-bus/bus-message.c
+++ b/src/libsystemd/sd-bus/bus-message.c
@@ -12,7 +12,7 @@
#include "bus-signature.h"
#include "bus-type.h"
#include "fd-util.h"
-#include "io-util.h"
+#include "iovec-util.h"
#include "memfd-util.h"
#include "memory-util.h"
#include "string-util.h"
diff --git a/src/libsystemd/sd-bus/bus-socket.c b/src/libsystemd/sd-bus/bus-socket.c
index 5079d68550..3c59d0d615 100644
--- a/src/libsystemd/sd-bus/bus-socket.c
+++ b/src/libsystemd/sd-bus/bus-socket.c
@@ -18,6 +18,7 @@
#include "fs-util.h"
#include "hexdecoct.h"
#include "io-util.h"
+#include "iovec-util.h"
#include "macro.h"
#include "memory-util.h"
#include "path-util.h"