summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-06-28 16:43:29 +0200
committerLennart Poettering <lennart@poettering.net>2020-06-30 15:10:17 +0200
commit40af3d020f461520ace2309834c4bdf4c5ddf97a (patch)
tree116240a7b0cc01ccf298e1e95217f056438e8086 /src/core
parent9176326ba2f2167076269acf7573a4a99da82a2d (diff)
downloadsystemd-40af3d020f461520ace2309834c4bdf4c5ddf97a.tar.gz
shared: split out property get helpers
No code changes, just some refactoring.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/dbus-automount.c2
-rw-r--r--src/core/dbus-cgroup.c2
-rw-r--r--src/core/dbus-execute.c2
-rw-r--r--src/core/dbus-job.c1
-rw-r--r--src/core/dbus-kill.c2
-rw-r--r--src/core/dbus-manager.c2
-rw-r--r--src/core/dbus-mount.c2
-rw-r--r--src/core/dbus-path.c2
-rw-r--r--src/core/dbus-scope.c2
-rw-r--r--src/core/dbus-service.c2
-rw-r--r--src/core/dbus-socket.c2
-rw-r--r--src/core/dbus-swap.c2
-rw-r--r--src/core/dbus-timer.c2
-rw-r--r--src/core/dbus-unit.c2
14 files changed, 14 insertions, 13 deletions
diff --git a/src/core/dbus-automount.c b/src/core/dbus-automount.c
index bd6e6a9dde..70b85d8023 100644
--- a/src/core/dbus-automount.c
+++ b/src/core/dbus-automount.c
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "automount.h"
-#include "bus-util.h"
+#include "bus-get-properties.h"
#include "dbus-automount.h"
#include "dbus-util.h"
#include "string-util.h"
diff --git a/src/core/dbus-cgroup.c b/src/core/dbus-cgroup.c
index 080f6fb1ae..b7d2e32639 100644
--- a/src/core/dbus-cgroup.c
+++ b/src/core/dbus-cgroup.c
@@ -5,7 +5,7 @@
#include "af-list.h"
#include "alloc-util.h"
#include "bpf-firewall.h"
-#include "bus-util.h"
+#include "bus-get-properties.h"
#include "cgroup-util.h"
#include "cgroup.h"
#include "dbus-cgroup.h"
diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c
index 41d64e8004..50f7ada8ce 100644
--- a/src/core/dbus-execute.c
+++ b/src/core/dbus-execute.c
@@ -9,7 +9,7 @@
#include "af-list.h"
#include "alloc-util.h"
-#include "bus-util.h"
+#include "bus-get-properties.h"
#include "cap-list.h"
#include "capability-util.h"
#include "cpu-set-util.h"
diff --git a/src/core/dbus-job.c b/src/core/dbus-job.c
index 404984f664..33e4128909 100644
--- a/src/core/dbus-job.c
+++ b/src/core/dbus-job.c
@@ -3,6 +3,7 @@
#include "sd-bus.h"
#include "alloc-util.h"
+#include "bus-get-properties.h"
#include "bus-util.h"
#include "dbus-job.h"
#include "dbus-unit.h"
diff --git a/src/core/dbus-kill.c b/src/core/dbus-kill.c
index 30597e86f0..eda3410375 100644
--- a/src/core/dbus-kill.c
+++ b/src/core/dbus-kill.c
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
-#include "bus-util.h"
+#include "bus-get-properties.h"
#include "dbus-kill.h"
#include "dbus-util.h"
#include "kill.h"
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
index 5cb06867cb..07e139c5ad 100644
--- a/src/core/dbus-manager.c
+++ b/src/core/dbus-manager.c
@@ -9,8 +9,8 @@
#include "architecture.h"
#include "build.h"
#include "bus-common-errors.h"
+#include "bus-get-properties.h"
#include "bus-log-control-api.h"
-#include "bus-util.h"
#include "dbus-cgroup.h"
#include "dbus-execute.h"
#include "dbus-job.h"
diff --git a/src/core/dbus-mount.c b/src/core/dbus-mount.c
index 3ab5ecc425..bab12cc4ff 100644
--- a/src/core/dbus-mount.c
+++ b/src/core/dbus-mount.c
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
-#include "bus-util.h"
+#include "bus-get-properties.h"
#include "dbus-cgroup.h"
#include "dbus-execute.h"
#include "dbus-kill.h"
diff --git a/src/core/dbus-path.c b/src/core/dbus-path.c
index 1a97d62486..76cd9d3260 100644
--- a/src/core/dbus-path.c
+++ b/src/core/dbus-path.c
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "alloc-util.h"
-#include "bus-util.h"
+#include "bus-get-properties.h"
#include "dbus-path.h"
#include "dbus-util.h"
#include "list.h"
diff --git a/src/core/dbus-scope.c b/src/core/dbus-scope.c
index 2d877a8c55..aecfda6535 100644
--- a/src/core/dbus-scope.c
+++ b/src/core/dbus-scope.c
@@ -2,7 +2,7 @@
#include "alloc-util.h"
#include "bus-common-errors.h"
-#include "bus-util.h"
+#include "bus-get-properties.h"
#include "dbus-cgroup.h"
#include "dbus-kill.h"
#include "dbus-scope.h"
diff --git a/src/core/dbus-service.c b/src/core/dbus-service.c
index 5d4f4ef506..3cc453dff5 100644
--- a/src/core/dbus-service.c
+++ b/src/core/dbus-service.c
@@ -4,7 +4,7 @@
#include "alloc-util.h"
#include "async.h"
-#include "bus-util.h"
+#include "bus-get-properties.h"
#include "dbus-cgroup.h"
#include "dbus-execute.h"
#include "dbus-kill.h"
diff --git a/src/core/dbus-socket.c b/src/core/dbus-socket.c
index 73e6a74914..f01489e29a 100644
--- a/src/core/dbus-socket.c
+++ b/src/core/dbus-socket.c
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "alloc-util.h"
-#include "bus-util.h"
+#include "bus-get-properties.h"
#include "dbus-cgroup.h"
#include "dbus-execute.h"
#include "dbus-kill.h"
diff --git a/src/core/dbus-swap.c b/src/core/dbus-swap.c
index 57c8c42091..cb4824b6bd 100644
--- a/src/core/dbus-swap.c
+++ b/src/core/dbus-swap.c
@@ -3,7 +3,7 @@
Copyright © 2010 Maarten Lankhorst
***/
-#include "bus-util.h"
+#include "bus-get-properties.h"
#include "dbus-cgroup.h"
#include "dbus-execute.h"
#include "dbus-swap.h"
diff --git a/src/core/dbus-timer.c b/src/core/dbus-timer.c
index 439c276fac..da35fa8678 100644
--- a/src/core/dbus-timer.c
+++ b/src/core/dbus-timer.c
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "alloc-util.h"
-#include "bus-util.h"
+#include "bus-get-properties.h"
#include "dbus-timer.h"
#include "dbus-util.h"
#include "strv.h"
diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c
index 320e830728..9e9d3b101e 100644
--- a/src/core/dbus-unit.c
+++ b/src/core/dbus-unit.c
@@ -5,8 +5,8 @@
#include "alloc-util.h"
#include "bpf-firewall.h"
#include "bus-common-errors.h"
+#include "bus-get-properties.h"
#include "bus-polkit.h"
-#include "bus-util.h"
#include "cgroup-util.h"
#include "condition.h"
#include "dbus-job.h"