summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 00:06:29 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:57 +0100
commit4e731273edfe852a3eee2949cd20f49fd5b4f6d7 (patch)
tree3e728dfbf3fdfd51261e4b7c2aa6c7b057f0ced6 /src/shared
parentd4510856a007712900795c79853d2218780c2321 (diff)
util-lib: move /proc/cmdline parsing code to proc-cmdline.[ch]
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/bus-util.c1
-rw-r--r--src/shared/condition.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c
index 724103fc3f..9fcc61dbd2 100644
--- a/src/shared/bus-util.c
+++ b/src/shared/bus-util.c
@@ -47,6 +47,7 @@
#include "unit-name.h"
#include "utf8.h"
#include "util.h"
+#include "proc-cmdline.h"
static int name_owner_change_callback(sd_bus_message *m, void *userdata, sd_bus_error *ret_error) {
sd_event *e = userdata;
diff --git a/src/shared/condition.c b/src/shared/condition.c
index a11054e316..d06120f0d7 100644
--- a/src/shared/condition.c
+++ b/src/shared/condition.c
@@ -39,6 +39,7 @@
#include "mount-util.h"
#include "parse-util.h"
#include "path-util.h"
+#include "proc-cmdline.h"
#include "selinux-util.h"
#include "smack-util.h"
#include "stat-util.h"