summaryrefslogtreecommitdiff
path: root/src/systemd-nspawn/nspawn-cgroup.h
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-20 20:14:27 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-20 21:59:11 -0400
commitca29469b09faeb453e33619a99780964256777bf (patch)
tree8ed3c952cd74f84e72a2d7949319da00dfae3f12 /src/systemd-nspawn/nspawn-cgroup.h
parent13d170a533b49490fc294bd727685cd087f0b070 (diff)
Diffstat (limited to 'src/systemd-nspawn/nspawn-cgroup.h')
-rw-r--r--src/systemd-nspawn/nspawn-cgroup.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/systemd-nspawn/nspawn-cgroup.h b/src/systemd-nspawn/nspawn-cgroup.h
index 6c0ddfc7de..4d5d1179ea 100644
--- a/src/systemd-nspawn/nspawn-cgroup.h
+++ b/src/systemd-nspawn/nspawn-cgroup.h
@@ -22,8 +22,8 @@
#include <stdbool.h>
#include <sys/types.h>
-#include "systemd-basic/cgroup-util.h"
+#include "systemd-basic/cgroup2-util.h"
int chown_cgroup(pid_t pid, uid_t uid_shift);
-int sync_cgroup(pid_t pid, CGroupUnified unified_requested, uid_t uid_shift);
-int create_subcgroup(pid_t pid, CGroupUnified unified_requested);
+int sync_cgroup(pid_t pid, SdCGroupVersion inner_cgver, uid_t uid_shift);
+int create_subcgroup(pid_t pid, SdCGroupVersion inner_cgver);