summaryrefslogtreecommitdiffstats
path: root/src/shutdown
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-08-01 13:14:45 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-09-16 18:08:00 +0200
commitfdb3decaa7ca791906f87dafc9d641c4cee4ec26 (patch)
treee318dbff0cab00412c09630b1378ff16297c98a2 /src/shutdown
parentutil-lib: move yes_no() and friends to string-util.h (diff)
downloadsystemd-fdb3decaa7ca791906f87dafc9d641c4cee4ec26.tar.xz
systemd-fdb3decaa7ca791906f87dafc9d641c4cee4ec26.zip
util-lib: move some functions from basic/cgroup-util to shared/cgroup-setup
This way less stuff needs to be in basic. Initially, I wanted to move all the parts of cgroup-utils.[ch] that depend on efivars.[ch] to shared, because efivars.[ch] is in shared/. Later on, I decide to split efivars.[ch], so the move done in this patch is not necessary anymore. Nevertheless, it is still valid on its own. If at some point we want to expose libbasic, it is better to to not have stuff that belong in libshared there.
Diffstat (limited to 'src/shutdown')
-rw-r--r--src/shutdown/shutdown.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shutdown/shutdown.c b/src/shutdown/shutdown.c
index 0eb17989d0..08215fd3ee 100644
--- a/src/shutdown/shutdown.c
+++ b/src/shutdown/shutdown.c
@@ -17,6 +17,7 @@
#include "alloc-util.h"
#include "async.h"
+#include "cgroup-setup.h"
#include "cgroup-util.h"
#include "def.h"
#include "exec-util.h"