summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>2000-01-13 15:20:49 +0000
committerMartin Baulig <martin@src.gnome.org>2000-01-13 15:20:49 +0000
commit65b08749cfecd158baab5c2c45fb59371531fc86 (patch)
treef76233749b575a6fd3f5826d4dc0950fc106cdf3
parentf7b69ebfae0a330808c18f56a2eb4c2c7ebde088 (diff)
downloadlibgtop-65b08749cfecd158baab5c2c45fb59371531fc86.tar.gz
Add compatibility #defines for `GLIBTOP_XCPU_TOTAL', `GLIBTOP_XCPU_USER',
2000-01-13 Martin Baulig <martin@home-of-linux.org> * 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'
-rw-r--r--ChangeLog4
-rw-r--r--include/glibtop/compat_10.h9
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a3b1d803..7053085d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2000-01-13 Martin Baulig <martin@home-of-linux.org>
+ * 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