diff options
author | Sven Eden <yamakuzure@gmx.net> | 2018-01-09 09:13:45 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-01-09 09:13:45 +0100 |
commit | 540f9616974c11cc76eb0c9cc0d81c80f356f54c (patch) | |
tree | 7e79fd63471ca9e0e981b8ff6f3ef4ccdb9da6db /src/basic/cgroup-util.h | |
parent | 9f1cd817492d3b4e6ebc1b0be68b3b7c51e841b0 (diff) |
Prep 235: Although systemd slices are unsupported, make cg_path_get_slice() available, but in 'elogind jargon'
Diffstat (limited to 'src/basic/cgroup-util.h')
-rw-r--r-- | src/basic/cgroup-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/cgroup-util.h b/src/basic/cgroup-util.h index e8423dd0d..7b95370d3 100644 --- a/src/basic/cgroup-util.h +++ b/src/basic/cgroup-util.h @@ -211,7 +211,9 @@ int cg_path_get_owner_uid(const char *path, uid_t *uid); int cg_path_get_unit(const char *path, char **unit); int cg_path_get_user_unit(const char *path, char **unit); int cg_path_get_machine_name(const char *path, char **machine); +#endif // 0 int cg_path_get_slice(const char *path, char **slice); +#if 0 /// UNNEEDED by elogind int cg_path_get_user_slice(const char *path, char **slice); #endif // 0 |