summaryrefslogtreecommitdiff
path: root/include/glibtop/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/glibtop/cpu.h')
-rw-r--r--include/glibtop/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/glibtop/cpu.h b/include/glibtop/cpu.h
index ae100126..cd65cd09 100644
--- a/include/glibtop/cpu.h
+++ b/include/glibtop/cpu.h
@@ -76,10 +76,10 @@ int glibtop_get_cpu_l (glibtop_client *client, glibtop_cpu *buf);
#if GLIBTOP_SUID_CPU
int glibtop_init_cpu_p (glibtop *server);
-int glibtop_get_cpu_p (glibtop *server, glibtop_cpu *buf);
+int glibtop_get_cpu_p (glibtop *server, void *closure, glibtop_cpu *buf);
#else
int glibtop_init_cpu_s (glibtop_server *server);
-int glibtop_get_cpu_s (glibtop_server *server, glibtop_cpu *buf);
+int glibtop_get_cpu_s (glibtop_server *server, void *closure, glibtop_cpu *buf);
#endif
#ifdef GLIBTOP_NAMES