From 65b08749cfecd158baab5c2c45fb59371531fc86 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Thu, 13 Jan 2000 15:20:49 +0000 Subject: [PATCH] Add compatibility #defines for `GLIBTOP_XCPU_TOTAL', `GLIBTOP_XCPU_USER', 2000-01-13 Martin Baulig * include/glibtop/compat_10.h: Add compatibility #defines for `GLIBTOP_XCPU_TOTAL', `GLIBTOP_XCPU_USER', `GLIBTOP_XCPU_NICE', `GLIBTOP_XCPU_SYS', `GLIBTOP_XCPU_IDLE' and `GLIBTOP_XCPU_FLAGS' --- ChangeLog | 4 ++++ include/glibtop/compat_10.h | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index a3b1d803..7053085d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2000-01-13 Martin Baulig + * include/glibtop/compat_10.h: Add compatibility #defines for + `GLIBTOP_XCPU_TOTAL', `GLIBTOP_XCPU_USER', `GLIBTOP_XCPU_NICE', + `GLIBTOP_XCPU_SYS', `GLIBTOP_XCPU_IDLE' and `GLIBTOP_XCPU_FLAGS' + * LIBGTOP-VERSION: Set version number to 1.1.4, binary age 0, interface age 0 and increased LIBGTOP_SERVER_VERSION to 52. diff --git a/include/glibtop/compat_10.h b/include/glibtop/compat_10.h index df8ffb04..7ddb18b4 100644 --- a/include/glibtop/compat_10.h +++ b/include/glibtop/compat_10.h @@ -31,6 +31,15 @@ BEGIN_LIBGTOP_DECLS +/* glibtop_cpu */ + +#define GLIBTOP_XCPU_TOTAL GLIBTOP_CPU_XCPU_TOTAL +#define GLIBTOP_XCPU_USER GLIBTOP_CPU_XCPU_USER +#define GLIBTOP_XCPU_NICE GLIBTOP_CPU_XCPU_NICE +#define GLIBTOP_XCPU_SYS GLIBTOP_CPU_XCPU_SYS +#define GLIBTOP_XCPU_IDLE GLIBTOP_CPU_XCPU_IDLE +#define GLIBTOP_XCPU_FLAGS GLIBTOP_CPU_XCPU_FLAGS + /* glibtop_proclist */ #define GLIBTOP_PROCLIST_NUMBER GLIBTOP_ARRAY_NUMBER