Merged Marcus' patches.
* procstate.c: * uptime.c: (glibtop_get_uptime_p): Merged Marcus' patches.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2004-08-22 Benoît Dejean <tazforever@dlfp.org>
|
||||||
|
|
||||||
|
* procstate.c:
|
||||||
|
* uptime.c: (glibtop_get_uptime_p): Merged Marcus' patches.
|
||||||
|
|
||||||
2004-07-15 Benoît Dejean <tazforever@dlfp.org>
|
2004-07-15 Benoît Dejean <tazforever@dlfp.org>
|
||||||
|
|
||||||
* procstate.c: (glibtop_get_proc_state_p): Fixed copy/paste error
|
* procstate.c: (glibtop_get_proc_state_p): Fixed copy/paste error
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
#include <glibtop_suid.h>
|
#include <glibtop_suid.h>
|
||||||
|
|
||||||
#if !defined(__OpenBSD__)
|
#if !defined(__OpenBSD__)
|
||||||
//&& (!defined __bsdi__)
|
/* && (!defined __bsdi__) */
|
||||||
#include <sys/user.h>
|
#include <sys/user.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -68,8 +68,6 @@ glibtop_get_uptime_p (glibtop *server, glibtop_uptime *buf)
|
|||||||
buf->flags = _glibtop_sysdeps_uptime;
|
buf->flags = _glibtop_sysdeps_uptime;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
buf->flags = _glibtop_sysdeps_uptime;
|
|
||||||
|
|
||||||
glibtop_cpu cpu;
|
glibtop_cpu cpu;
|
||||||
|
|
||||||
glibtop_init_p (server, (1L << GLIBTOP_SYSDEPS_UPTIME), 0);
|
glibtop_init_p (server, (1L << GLIBTOP_SYSDEPS_UPTIME), 0);
|
||||||
|
Reference in New Issue
Block a user