summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-26 22:31:05 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:56 +0100
commit8b43440b7ef4b81c69c31de7ff820dc07a780254 (patch)
tree595e6dbbf92dc2bc4ae92e21e1c99b2d61146ac8 /src/core
parent8fcde01280adcbd07e8205b91ac52b06305b6208 (diff)
util-lib: move string table stuff into its own string-table.[ch]
Diffstat (limited to 'src/core')
-rw-r--r--src/core/automount.c1
-rw-r--r--src/core/bus-policy.c1
-rw-r--r--src/core/busname.c1
-rw-r--r--src/core/cgroup.c1
-rw-r--r--src/core/execute.c1
-rw-r--r--src/core/failure-action.c5
-rw-r--r--src/core/job.c1
-rw-r--r--src/core/kill.c5
-rw-r--r--src/core/manager.c1
-rw-r--r--src/core/mount.c1
-rw-r--r--src/core/namespace.c1
-rw-r--r--src/core/path.c1
-rw-r--r--src/core/scope.c1
-rw-r--r--src/core/service.c1
-rw-r--r--src/core/show-status.c2
-rw-r--r--src/core/socket.c1
-rw-r--r--src/core/swap.c1
-rw-r--r--src/core/timer.c1
18 files changed, 23 insertions, 4 deletions
diff --git a/src/core/automount.c b/src/core/automount.c
index 00911118e6..379f71f74a 100644
--- a/src/core/automount.c
+++ b/src/core/automount.c
@@ -45,6 +45,7 @@
#include "path-util.h"
#include "process-util.h"
#include "special.h"
+#include "string-table.h"
#include "string-util.h"
#include "unit-name.h"
#include "unit.h"
diff --git a/src/core/bus-policy.c b/src/core/bus-policy.c
index 2490903a8c..7ad18fb28c 100644
--- a/src/core/bus-policy.c
+++ b/src/core/bus-policy.c
@@ -22,6 +22,7 @@
#include "bus-kernel.h"
#include "bus-policy.h"
#include "kdbus.h"
+#include "string-table.h"
#include "user-util.h"
#include "util.h"
diff --git a/src/core/busname.c b/src/core/busname.c
index df4a8bef52..94674c99fa 100644
--- a/src/core/busname.c
+++ b/src/core/busname.c
@@ -34,6 +34,7 @@
#include "service.h"
#include "signal-util.h"
#include "special.h"
+#include "string-table.h"
#include "string-util.h"
static const UnitActiveState state_translation_table[_BUSNAME_STATE_MAX] = {
diff --git a/src/core/cgroup.c b/src/core/cgroup.c
index 6ef0580fad..0d37e69cd9 100644
--- a/src/core/cgroup.c
+++ b/src/core/cgroup.c
@@ -30,6 +30,7 @@
#include "path-util.h"
#include "process-util.h"
#include "special.h"
+#include "string-table.h"
#include "string-util.h"
#define CGROUP_CPU_QUOTA_PERIOD_USEC ((usec_t) 100 * USEC_PER_MSEC)
diff --git a/src/core/execute.c b/src/core/execute.c
index a9564386ba..f354216325 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -89,6 +89,7 @@
#include "selinux-util.h"
#include "signal-util.h"
#include "smack-util.h"
+#include "string-table.h"
#include "string-util.h"
#include "strv.h"
#include "terminal-util.h"
diff --git a/src/core/failure-action.c b/src/core/failure-action.c
index 3412accf3e..c7c95984b7 100644
--- a/src/core/failure-action.c
+++ b/src/core/failure-action.c
@@ -23,10 +23,11 @@
#include <sys/reboot.h>
#include <linux/reboot.h>
-#include "bus-util.h"
#include "bus-error.h"
-#include "special.h"
+#include "bus-util.h"
#include "failure-action.h"
+#include "special.h"
+#include "string-table.h"
#include "terminal-util.h"
static void log_and_status(Manager *m, const char *message) {
diff --git a/src/core/job.c b/src/core/job.c
index 7fde88f5fe..44532d0d5a 100644
--- a/src/core/job.c
+++ b/src/core/job.c
@@ -34,6 +34,7 @@
#include "parse-util.h"
#include "set.h"
#include "special.h"
+#include "string-table.h"
#include "string-util.h"
#include "strv.h"
#include "terminal-util.h"
diff --git a/src/core/kill.c b/src/core/kill.c
index bddfa4460f..1466d5ce64 100644
--- a/src/core/kill.c
+++ b/src/core/kill.c
@@ -19,9 +19,10 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include "util.h"
-#include "signal-util.h"
#include "kill.h"
+#include "signal-util.h"
+#include "string-table.h"
+#include "util.h"
void kill_context_init(KillContext *c) {
assert(c);
diff --git a/src/core/manager.c b/src/core/manager.c
index 51e8b0566f..83068af77e 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -73,6 +73,7 @@
#include "signal-util.h"
#include "special.h"
#include "stat-util.h"
+#include "string-table.h"
#include "string-util.h"
#include "strv.h"
#include "terminal-util.h"
diff --git a/src/core/mount.c b/src/core/mount.c
index 9d8b55da58..f04f386930 100644
--- a/src/core/mount.c
+++ b/src/core/mount.c
@@ -41,6 +41,7 @@
#include "smack-util.h"
#include "special.h"
#include "string-util.h"
+#include "string-table.h"
#include "strv.h"
#include "unit-name.h"
#include "unit.h"
diff --git a/src/core/namespace.c b/src/core/namespace.c
index e6c381800b..ec7180ebdc 100644
--- a/src/core/namespace.c
+++ b/src/core/namespace.c
@@ -38,6 +38,7 @@
#include "path-util.h"
#include "selinux-util.h"
#include "socket-util.h"
+#include "string-table.h"
#include "string-util.h"
#include "strv.h"
#include "util.h"
diff --git a/src/core/path.c b/src/core/path.c
index efd97d44eb..761ec265b4 100644
--- a/src/core/path.c
+++ b/src/core/path.c
@@ -33,6 +33,7 @@
#include "path.h"
#include "special.h"
#include "stat-util.h"
+#include "string-table.h"
#include "string-util.h"
#include "unit-name.h"
#include "unit.h"
diff --git a/src/core/scope.c b/src/core/scope.c
index 9f72851382..13de02cf16 100644
--- a/src/core/scope.c
+++ b/src/core/scope.c
@@ -26,6 +26,7 @@
#include "load-dropin.h"
#include "log.h"
#include "special.h"
+#include "string-table.h"
#include "string-util.h"
#include "strv.h"
#include "unit-name.h"
diff --git a/src/core/service.c b/src/core/service.c
index bb77f4502d..54a420d6f0 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -46,6 +46,7 @@
#include "service.h"
#include "signal-util.h"
#include "special.h"
+#include "string-table.h"
#include "string-util.h"
#include "strv.h"
#include "unit-name.h"
diff --git a/src/core/show-status.c b/src/core/show-status.c
index 9e4c9f563e..9509b21ccb 100644
--- a/src/core/show-status.c
+++ b/src/core/show-status.c
@@ -19,9 +19,11 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include "fd-util.h"
#include "parse-util.h"
#include "show-status.h"
#include "string-util.h"
+#include "terminal-util.h"
#include "util.h"
int parse_show_status(const char *v, ShowStatus *ret) {
diff --git a/src/core/socket.c b/src/core/socket.c
index 8ea7bd9af4..c145aa6081 100644
--- a/src/core/socket.c
+++ b/src/core/socket.c
@@ -50,6 +50,7 @@
#include "smack-util.h"
#include "socket.h"
#include "special.h"
+#include "string-table.h"
#include "string-util.h"
#include "strv.h"
#include "unit-name.h"
diff --git a/src/core/swap.c b/src/core/swap.c
index c4151c6afd..cb2da1cb5c 100644
--- a/src/core/swap.c
+++ b/src/core/swap.c
@@ -35,6 +35,7 @@
#include "parse-util.h"
#include "path-util.h"
#include "special.h"
+#include "string-table.h"
#include "string-util.h"
#include "swap.h"
#include "udev-util.h"
diff --git a/src/core/timer.c b/src/core/timer.c
index 26d94eb521..47e501815a 100644
--- a/src/core/timer.c
+++ b/src/core/timer.c
@@ -27,6 +27,7 @@
#include "fs-util.h"
#include "parse-util.h"
#include "special.h"
+#include "string-table.h"
#include "string-util.h"
#include "timer.h"
#include "unit-name.h"