unit_invalidate_cgroup_members_masks(slice);
}
-int unit_default_cgroup_path(const Unit *u, char **ret) {
+static int unit_default_cgroup_path(const Unit *u, char **ret) {
_cleanup_free_ char *p = NULL;
int r;
return 0;
}
-int unit_set_cgroup_path(Unit *u, const char *path) {
+static int unit_set_cgroup_path(Unit *u, const char *path) {
_cleanup_free_ char *p = NULL;
CGroupRuntime *crt;
int r;
return strdup_to_full(ret, crt->cgroup_path); /* returns 1 -> cgroup_path is alive */
}
-int unit_watch_cgroup(Unit *u) {
+static int unit_watch_cgroup(Unit *u) {
_cleanup_free_ char *events = NULL;
int r;
return 0;
}
-int unit_watch_cgroup_memory(Unit *u) {
+static int unit_watch_cgroup_memory(Unit *u) {
_cleanup_free_ char *events = NULL;
int r;
void unit_add_family_to_cgroup_realize_queue(Unit *u);
-int unit_default_cgroup_path(const Unit *u, char **ret);
-int unit_set_cgroup_path(Unit *u, const char *path);
int unit_get_cgroup_path_with_fallback(const Unit *u, char **ret);
int unit_realize_cgroup(Unit *u);
void unit_prune_cgroup(Unit *u);
-int unit_watch_cgroup(Unit *u);
-int unit_watch_cgroup_memory(Unit *u);
void unit_add_to_cgroup_realize_queue(Unit *u);
int unit_cgroup_is_empty(Unit *u);