summaryrefslogtreecommitdiff
path: root/include/glibtop/cpu.h
diff options
context:
space:
mode:
authorMartin Baulig <baulig@suse.de>2001-04-20 17:12:11 +0000
committerMartin Baulig <martin@src.gnome.org>2001-04-20 17:12:11 +0000
commitf4fc67f85c71a4329f5939bd93cb4a5ea8afdd2c (patch)
tree2f4af5d1774adeade71f783da223a3b61cb5473e /include/glibtop/cpu.h
parentbcc4ec968e9611e490873047f6803e9e46e8fc44 (diff)
downloadlibgtop-f4fc67f85c71a4329f5939bd93cb4a5ea8afdd2c.tar.gz
Added `void *closure' argument to all sysdeps functions.
2001-04-20 Martin Baulig <baulig@suse.de> * include/glibtop/*.h (glibtop_get_*_s, glibtop_get_*_pl): Added `void *closure' argument to all sysdeps functions. * include/glibtop/open.h (glibtop_open_s, glibtop_open_p): Removed the `const char *program_name' argument and added `void *closure'.
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