cgroup-util: remove now unused cg_read_event()
cg_get_keyed_attribute() is a more generic version of this, and cg_is_empty_recursive() was the only user of this function, which got converted in the previous commit.
This commit is contained in:
@@ -188,7 +188,6 @@ typedef enum CGroupFlags {
|
||||
int cg_enumerate_processes(const char *controller, const char *path, FILE **ret);
|
||||
int cg_read_pid(FILE *f, pid_t *ret, CGroupFlags flags);
|
||||
int cg_read_pidref(FILE *f, PidRef *ret, CGroupFlags flags);
|
||||
int cg_read_event(const char *controller, const char *path, const char *event, char **ret);
|
||||
|
||||
int cg_enumerate_subgroups(const char *controller, const char *path, DIR **ret);
|
||||
int cg_read_subgroup(DIR *d, char **ret);
|
||||
|
||||
Reference in New Issue
Block a user