summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-01-01 00:57:37 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-18 23:04:19 +0100
commit6969a671d9fdd409e6b2715f6d78314a7d51d0c0 (patch)
tree4e1fbf7778e95491d4759b8bbd1879508792ff1d
parentefi: create symbolic link to efi/loader-feature.h (diff)
downloadsystemd-6969a671d9fdd409e6b2715f6d78314a7d51d0c0.tar.xz
systemd-6969a671d9fdd409e6b2715f6d78314a7d51d0c0.zip
test: drop bus-util.h from sd-bus
To drop src/shared from include directories to build libsystemd.so later.
-rw-r--r--src/libsystemd/sd-bus/bus-control.c1
-rw-r--r--src/libsystemd/sd-bus/bus-convenience.c1
-rw-r--r--src/libsystemd/sd-bus/bus-creds.c1
-rw-r--r--src/libsystemd/sd-bus/bus-kernel.c1
-rw-r--r--src/libsystemd/sd-bus/bus-match.c1
-rw-r--r--src/libsystemd/sd-bus/bus-message.c1
-rw-r--r--src/libsystemd/sd-bus/bus-objects.c1
-rw-r--r--src/libsystemd/sd-bus/bus-track.c1
-rw-r--r--src/libsystemd/sd-bus/sd-bus.c1
-rw-r--r--src/libsystemd/sd-bus/test-bus-benchmark.c2
-rw-r--r--src/libsystemd/sd-bus/test-bus-chat.c2
-rw-r--r--src/libsystemd/sd-bus/test-bus-cleanup.c1
-rw-r--r--src/libsystemd/sd-bus/test-bus-creds.c1
-rw-r--r--src/libsystemd/sd-bus/test-bus-error.c3
-rw-r--r--src/libsystemd/sd-bus/test-bus-gvariant.c1
-rw-r--r--src/libsystemd/sd-bus/test-bus-match.c1
-rw-r--r--src/libsystemd/sd-bus/test-bus-objects.c1
-rw-r--r--src/libsystemd/sd-bus/test-bus-server.c2
18 files changed, 5 insertions, 18 deletions
diff --git a/src/libsystemd/sd-bus/bus-control.c b/src/libsystemd/sd-bus/bus-control.c
index 3ee22c9638..943877f0ea 100644
--- a/src/libsystemd/sd-bus/bus-control.c
+++ b/src/libsystemd/sd-bus/bus-control.c
@@ -13,7 +13,6 @@
#include "bus-control.h"
#include "bus-internal.h"
#include "bus-message.h"
-#include "bus-util.h"
#include "capability-util.h"
#include "process-util.h"
#include "stdio-util.h"
diff --git a/src/libsystemd/sd-bus/bus-convenience.c b/src/libsystemd/sd-bus/bus-convenience.c
index 0314642f3e..3e1143b187 100644
--- a/src/libsystemd/sd-bus/bus-convenience.c
+++ b/src/libsystemd/sd-bus/bus-convenience.c
@@ -7,7 +7,6 @@
#include "bus-message.h"
#include "bus-signature.h"
#include "bus-type.h"
-#include "bus-util.h"
#include "string-util.h"
_public_ int sd_bus_emit_signalv(
diff --git a/src/libsystemd/sd-bus/bus-creds.c b/src/libsystemd/sd-bus/bus-creds.c
index 3896d94111..3134d8ef17 100644
--- a/src/libsystemd/sd-bus/bus-creds.c
+++ b/src/libsystemd/sd-bus/bus-creds.c
@@ -8,7 +8,6 @@
#include "bus-creds.h"
#include "bus-label.h"
#include "bus-message.h"
-#include "bus-util.h"
#include "capability-util.h"
#include "cgroup-util.h"
#include "errno-util.h"
diff --git a/src/libsystemd/sd-bus/bus-kernel.c b/src/libsystemd/sd-bus/bus-kernel.c
index 6bba446932..ba8ffae522 100644
--- a/src/libsystemd/sd-bus/bus-kernel.c
+++ b/src/libsystemd/sd-bus/bus-kernel.c
@@ -20,7 +20,6 @@
#include "bus-kernel.h"
#include "bus-label.h"
#include "bus-message.h"
-#include "bus-util.h"
#include "capability-util.h"
#include "fd-util.h"
#include "fileio.h"
diff --git a/src/libsystemd/sd-bus/bus-match.c b/src/libsystemd/sd-bus/bus-match.c
index d7da4bf009..fd74867afa 100644
--- a/src/libsystemd/sd-bus/bus-match.c
+++ b/src/libsystemd/sd-bus/bus-match.c
@@ -4,7 +4,6 @@
#include "bus-internal.h"
#include "bus-match.h"
#include "bus-message.h"
-#include "bus-util.h"
#include "fd-util.h"
#include "fileio.h"
#include "hexdecoct.h"
diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/sd-bus/bus-message.c
index 99b1704aee..f358a8699e 100644
--- a/src/libsystemd/sd-bus/bus-message.c
+++ b/src/libsystemd/sd-bus/bus-message.c
@@ -12,7 +12,6 @@
#include "bus-message.h"
#include "bus-signature.h"
#include "bus-type.h"
-#include "bus-util.h"
#include "fd-util.h"
#include "io-util.h"
#include "memfd-util.h"
diff --git a/src/libsystemd/sd-bus/bus-objects.c b/src/libsystemd/sd-bus/bus-objects.c
index 275c4318a1..bfd42aea7d 100644
--- a/src/libsystemd/sd-bus/bus-objects.c
+++ b/src/libsystemd/sd-bus/bus-objects.c
@@ -8,7 +8,6 @@
#include "bus-signature.h"
#include "bus-slot.h"
#include "bus-type.h"
-#include "bus-util.h"
#include "missing_capability.h"
#include "set.h"
#include "string-util.h"
diff --git a/src/libsystemd/sd-bus/bus-track.c b/src/libsystemd/sd-bus/bus-track.c
index 5f8716e2aa..bc36673b83 100644
--- a/src/libsystemd/sd-bus/bus-track.c
+++ b/src/libsystemd/sd-bus/bus-track.c
@@ -5,7 +5,6 @@
#include "alloc-util.h"
#include "bus-internal.h"
#include "bus-track.h"
-#include "bus-util.h"
#include "string-util.h"
struct track_item {
diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c
index 857193943a..6b1f25cc02 100644
--- a/src/libsystemd/sd-bus/sd-bus.c
+++ b/src/libsystemd/sd-bus/sd-bus.c
@@ -26,7 +26,6 @@
#include "bus-socket.h"
#include "bus-track.h"
#include "bus-type.h"
-#include "bus-util.h"
#include "cgroup-util.h"
#include "def.h"
#include "errno-util.h"
diff --git a/src/libsystemd/sd-bus/test-bus-benchmark.c b/src/libsystemd/sd-bus/test-bus-benchmark.c
index 8c6711797a..13c08fe295 100644
--- a/src/libsystemd/sd-bus/test-bus-benchmark.c
+++ b/src/libsystemd/sd-bus/test-bus-benchmark.c
@@ -8,10 +8,10 @@
#include "alloc-util.h"
#include "bus-internal.h"
#include "bus-kernel.h"
-#include "bus-util.h"
#include "def.h"
#include "fd-util.h"
#include "missing_resource.h"
+#include "string-util.h"
#include "time-util.h"
#include "util.h"
diff --git a/src/libsystemd/sd-bus/test-bus-chat.c b/src/libsystemd/sd-bus/test-bus-chat.c
index c3c31c65e6..a1d7ba173f 100644
--- a/src/libsystemd/sd-bus/test-bus-chat.c
+++ b/src/libsystemd/sd-bus/test-bus-chat.c
@@ -11,12 +11,12 @@
#include "bus-error.h"
#include "bus-internal.h"
#include "bus-match.h"
-#include "bus-util.h"
#include "errno-util.h"
#include "fd-util.h"
#include "format-util.h"
#include "log.h"
#include "macro.h"
+#include "string-util.h"
#include "tests.h"
#include "util.h"
diff --git a/src/libsystemd/sd-bus/test-bus-cleanup.c b/src/libsystemd/sd-bus/test-bus-cleanup.c
index ece0a12bab..f563db74e6 100644
--- a/src/libsystemd/sd-bus/test-bus-cleanup.c
+++ b/src/libsystemd/sd-bus/test-bus-cleanup.c
@@ -6,7 +6,6 @@
#include "bus-internal.h"
#include "bus-message.h"
-#include "bus-util.h"
#include "tests.h"
static bool use_system_bus = false;
diff --git a/src/libsystemd/sd-bus/test-bus-creds.c b/src/libsystemd/sd-bus/test-bus-creds.c
index 6551e692f8..13801becc9 100644
--- a/src/libsystemd/sd-bus/test-bus-creds.c
+++ b/src/libsystemd/sd-bus/test-bus-creds.c
@@ -3,7 +3,6 @@
#include "sd-bus.h"
#include "bus-dump.h"
-#include "bus-util.h"
#include "cgroup-util.h"
#include "tests.h"
diff --git a/src/libsystemd/sd-bus/test-bus-error.c b/src/libsystemd/sd-bus/test-bus-error.c
index 2e3803c9b2..958884d56f 100644
--- a/src/libsystemd/sd-bus/test-bus-error.c
+++ b/src/libsystemd/sd-bus/test-bus-error.c
@@ -2,11 +2,12 @@
#include "sd-bus.h"
+#include "alloc-util.h"
#include "bus-common-errors.h"
#include "bus-error.h"
-#include "bus-util.h"
#include "errno-list.h"
#include "errno-util.h"
+#include "string-util.h"
static void test_error(void) {
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL, second = SD_BUS_ERROR_NULL;
diff --git a/src/libsystemd/sd-bus/test-bus-gvariant.c b/src/libsystemd/sd-bus/test-bus-gvariant.c
index b0033f1d13..edd8301d45 100644
--- a/src/libsystemd/sd-bus/test-bus-gvariant.c
+++ b/src/libsystemd/sd-bus/test-bus-gvariant.c
@@ -11,7 +11,6 @@
#include "bus-gvariant.h"
#include "bus-internal.h"
#include "bus-message.h"
-#include "bus-util.h"
#include "macro.h"
#include "tests.h"
#include "util.h"
diff --git a/src/libsystemd/sd-bus/test-bus-match.c b/src/libsystemd/sd-bus/test-bus-match.c
index aa6ddd336a..031e42ff46 100644
--- a/src/libsystemd/sd-bus/test-bus-match.c
+++ b/src/libsystemd/sd-bus/test-bus-match.c
@@ -3,7 +3,6 @@
#include "bus-match.h"
#include "bus-message.h"
#include "bus-slot.h"
-#include "bus-util.h"
#include "log.h"
#include "macro.h"
#include "memory-util.h"
diff --git a/src/libsystemd/sd-bus/test-bus-objects.c b/src/libsystemd/sd-bus/test-bus-objects.c
index 9116211886..80d2a5d98b 100644
--- a/src/libsystemd/sd-bus/test-bus-objects.c
+++ b/src/libsystemd/sd-bus/test-bus-objects.c
@@ -9,7 +9,6 @@
#include "bus-dump.h"
#include "bus-internal.h"
#include "bus-message.h"
-#include "bus-util.h"
#include "log.h"
#include "macro.h"
#include "strv.h"
diff --git a/src/libsystemd/sd-bus/test-bus-server.c b/src/libsystemd/sd-bus/test-bus-server.c
index 5cb100b2f0..e7a14716bc 100644
--- a/src/libsystemd/sd-bus/test-bus-server.c
+++ b/src/libsystemd/sd-bus/test-bus-server.c
@@ -6,10 +6,10 @@
#include "sd-bus.h"
#include "bus-internal.h"
-#include "bus-util.h"
#include "log.h"
#include "macro.h"
#include "memory-util.h"
+#include "string-util.h"
struct context {
int fds[2];