diff options
author | Martin Baulig <martin@home-of-linux.org> | 1999-05-06 19:49:31 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1999-05-06 19:49:31 +0000 |
commit | d67182f4111aa7e7c79caa7479abf22f24c9723f (patch) | |
tree | ab724c35af781844090783bc32796e42cff5219f /src/daemon/slave.c | |
parent | fec8f23ad45cbddbf1d168bee18bf61fd4aaaba0 (diff) | |
download | libgtop-d67182f4111aa7e7c79caa7479abf22f24c9723f.tar.gz |
Added `pointer_size' which is the number of bits of a `void *'.
1999-05-06 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/sysdeps.h (glibtop_sysdeps): Added `pointer_size'
which is the number of bits of a `void *'.
Diffstat (limited to 'src/daemon/slave.c')
-rw-r--r-- | src/daemon/slave.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/daemon/slave.c b/src/daemon/slave.c index 91d97879..97eb4233 100644 --- a/src/daemon/slave.c +++ b/src/daemon/slave.c @@ -127,6 +127,7 @@ handle_slave_command (glibtop_command *cmnd, glibtop_response *resp, memcpy (&resp->u.sysdeps, &server->sysdeps, sizeof (glibtop_sysdeps)); resp->u.sysdeps.features = glibtop_server_features; + resp->u.sysdeps.pointer_size = sizeof (void*)*8; resp->u.sysdeps.flags = glibtop_server_features | (1 << GLIBTOP_SYSDEPS_FEATURES); resp->offset = _offset_union (sysdeps); |