cgroup-setup: drop unused cg_migrate_callback for cg_attach_everywhere()

While at it, move the typedef from cgroup-util to -setup.
This commit is contained in:
Mike Yuan
2024-08-02 14:47:39 +02:00
parent 40d90c9c01
commit 3386f66200
7 changed files with 18 additions and 19 deletions
-2
View File
@@ -304,8 +304,6 @@ bool cg_controller_is_valid(const char *p);
int cg_slice_to_path(const char *unit, char **ret);
typedef const char* (*cg_migrate_callback_t)(CGroupMask mask, void *userdata);
int cg_mask_supported(CGroupMask *ret);
int cg_mask_supported_subtree(const char *root, CGroupMask *ret);
int cg_mask_from_string(const char *s, CGroupMask *ret);