diff options
Diffstat (limited to 'include/glibtop/procsegment.h')
-rw-r--r-- | include/glibtop/procsegment.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/glibtop/procsegment.h b/include/glibtop/procsegment.h index c6950ee7..a64bd520 100644 --- a/include/glibtop/procsegment.h +++ b/include/glibtop/procsegment.h @@ -86,11 +86,11 @@ struct _glibtop_proc_segment int glibtop_get_proc_segment_l (glibtop_client *client, glibtop_proc_segment *buf, pid_t pid); #if GLIBTOP_SUID_PROC_SEGMENT -int glibtop_init_proc_segment_p (glibtop *server); -int glibtop_get_proc_segment_p (glibtop *server, void *closure, glibtop_proc_segment *buf, pid_t pid); +int glibtop_init_proc_segment_p (glibtop_server *server, glibtop_closure *closure); +int glibtop_get_proc_segment_p (glibtop_server *server, glibtop_closure *closure, glibtop_proc_segment *buf, pid_t pid); #else -int glibtop_init_proc_segment_s (glibtop_server *server); -int glibtop_get_proc_segment_s (glibtop_server *server, void *closure, glibtop_proc_segment *buf, pid_t pid); +int glibtop_init_proc_segment_s (glibtop_server *server, glibtop_closure *closure); +int glibtop_get_proc_segment_s (glibtop_server *server, glibtop_closure *closure, glibtop_proc_segment *buf, pid_t pid); #endif #ifdef GLIBTOP_NAMES |