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 /src/daemon | |
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 'src/daemon')
-rw-r--r-- | src/daemon/main.c | 4 | ||||
-rw-r--r-- | src/daemon/slave.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c index 25530738..84ecc6b8 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -41,7 +41,7 @@ handle_parent_connection (int s) glibtop_mountentry *mount_list; char parameter [BUFSIZ]; unsigned short device; - int64_t *param_ptr; + gint64 *param_ptr; int all_fs; pid_t pid; void *ptr; @@ -133,7 +133,7 @@ handle_parent_connection (int s) do_output (s, resp, _offset_data (sem_limits), 0, NULL); break; case GLIBTOP_CMND_PROCLIST: - param_ptr = (int64_t *) parameter; + param_ptr = (gint64 *) parameter; ptr = glibtop_get_proclist_l (server, &resp->u.data.proclist, param_ptr [0], diff --git a/src/daemon/slave.c b/src/daemon/slave.c index 5811ddc9..33c99cbc 100644 --- a/src/daemon/slave.c +++ b/src/daemon/slave.c @@ -27,7 +27,7 @@ void handle_slave_connection (int input, int output) { glibtop *server G_GNUC_UNUSED = glibtop_global_server; - int64_t *param_ptr G_GNUC_UNUSED; + gint64 *param_ptr G_GNUC_UNUSED; const void *ptr G_GNUC_UNUSED; unsigned short max_len G_GNUC_UNUSED; @@ -72,7 +72,7 @@ handle_slave_connection (int input, int output) return; #if GLIBTOP_SUID_PROCLIST case GLIBTOP_CMND_PROCLIST: - param_ptr = (int64_t *) parameter; + param_ptr = (gint64 *) parameter; ptr = glibtop_get_proclist_p (server, &resp->u.data.proclist, param_ptr [0], param_ptr [1]); |