diff options
author | Benoît Dejean <bdejean@src.gnome.org> | 2004-07-18 20:33:56 +0000 |
---|---|---|
committer | Benoît Dejean <bdejean@src.gnome.org> | 2004-07-18 20:33:56 +0000 |
commit | ff4fe5e8462e78ef27913b2a0d08590f482fa919 (patch) | |
tree | c4d7b14e6888dc0345f65bf007800a72009f485b /include | |
parent | 92c18d4e8a79be614af3561e94cce8bd2fe03301 (diff) | |
download | libgtop-ff4fe5e8462e78ef27913b2a0d08590f482fa919.tar.gz |
Glibify a bit more. Closes #147618.
* doc/reference.texi:
* include/glibtop/command.h:
* include/glibtop/glib-arrays.h:
* include/glibtop/proclist.h:
* lib/glib-arrays.c: (glibtop_get_proclist_as_array_l):
* lib/lib.pl:
* scripts/c_types.pl:
* src/daemon/main.c: (handle_parent_connection):
* src/daemon/slave.c: (handle_slave_connection):
* support/mkstemp.c:
* sysdeps/aix/proclist.c: (glibtop_get_proclist_s):
* sysdeps/freebsd/cpu.c: (glibtop_get_cpu_p):
* sysdeps/freebsd/prockernel.c: (glibtop_get_proc_kernel_p):
* sysdeps/freebsd/proclist.c: (glibtop_get_proclist_p):
* sysdeps/freebsd/procmem.c: (glibtop_get_proc_mem_p):
* sysdeps/kernel/proclist.c: (glibtop_get_proclist_s):
* sysdeps/linux/proclist.c: (glibtop_get_proclist_s):
* sysdeps/osf1/proclist.c: (glibtop_get_proclist_p):
* sysdeps/solaris/proclist.c: (glibtop_get_proclist_s):
* sysdeps/stub/proclist.c: (glibtop_get_proclist_s):
* sysdeps/stub_suid/proclist.c: (glibtop_get_proclist_p):
* sysdeps/sun4/proclist.c: (glibtop_get_proclist_p): Glibify a bit more.
Closes #147618.
Diffstat (limited to 'include')
-rw-r--r-- | include/glibtop/command.h | 2 | ||||
-rw-r--r-- | include/glibtop/glib-arrays.h | 2 | ||||
-rw-r--r-- | include/glibtop/proclist.h | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/include/glibtop/command.h b/include/glibtop/command.h index d6219133..87688eb2 100644 --- a/include/glibtop/command.h +++ b/include/glibtop/command.h @@ -82,7 +82,7 @@ union _glibtop_response_union struct _glibtop_response { - int64_t offset; + gint64 offset; guint64 size, data_size; glibtop_response_union u; }; diff --git a/include/glibtop/glib-arrays.h b/include/glibtop/glib-arrays.h index 6fa0247b..40dcf585 100644 --- a/include/glibtop/glib-arrays.h +++ b/include/glibtop/glib-arrays.h @@ -38,7 +38,7 @@ GPtrArray * glibtop_get_proc_args_as_array_l (glibtop_client *client, pid_t pid); GArray * -glibtop_get_proclist_as_array_l (glibtop_client *client, int64_t which, int64_t arg); +glibtop_get_proclist_as_array_l (glibtop_client *client, gint64 which, gint64 arg); GPtrArray * glibtop_get_proc_map_as_array_l (glibtop_client *client, pid_t pid); diff --git a/include/glibtop/proclist.h b/include/glibtop/proclist.h index 3b9d1d76..83ec6c47 100644 --- a/include/glibtop/proclist.h +++ b/include/glibtop/proclist.h @@ -72,20 +72,20 @@ struct _glibtop_proclist unsigned * glibtop_get_proclist_l (glibtop *server, glibtop_proclist *buf, - int64_t which, int64_t arg); + gint64 which, gint64 arg); #if GLIBTOP_SUID_PROCLIST void glibtop_init_proclist_p (glibtop *server); unsigned * glibtop_get_proclist_p (glibtop *server, glibtop_proclist *buf, - int64_t which, int64_t arg); + gint64 which, gint64 arg); #else void glibtop_init_proclist_s (glibtop *server); unsigned * glibtop_get_proclist_s (glibtop *server, glibtop_proclist *buf, - int64_t which, int64_t arg); + gint64 which, gint64 arg); #endif #ifdef GLIBTOP_NAMES |