From 80e9084d3e7be7fbec1ed72f90b88c7626fb93d1 Mon Sep 17 00:00:00 2001 From: Dhaval Giani Date: Thu, 18 Jun 2009 19:42:47 +0530 Subject: libcgroup: Use double pointers everywhere in the get_task APIs As Jan Safranek pointed out, it is better to have double pointers everywhere in the get_task API to keep consistency. Do the same. Signed-off-by: Dhaval Giani Acked-by: Balbir Singh --- include/libcgroup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libcgroup.h') diff --git a/include/libcgroup.h b/include/libcgroup.h index 149a560..dd87c63 100644 --- a/include/libcgroup.h +++ b/include/libcgroup.h @@ -301,7 +301,7 @@ int cgroup_get_task_begin(char *cgroup, char *controller, void **handle, * * return ECGEOF when the iterator finishes getting the list of tasks. */ -int cgroup_get_task_next(void *handle, pid_t *pid); +int cgroup_get_task_next(void **handle, pid_t *pid); int cgroup_get_task_end(void **handle); /* The wrappers for filling libcg structures */ -- cgit