summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--glibtop.h4
-rw-r--r--include/glibtop/limits.h3
3 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 534c4f61..daa4c84f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-05-28 Martin Baulig <martin@home-of-linux.org>
+
+ * glibtop.h (GLIBTOP_MOUNTENTRY_LEN): Move this
+ * include/glibtop/limits.h: here.
+
1999-05-26 Martin Baulig <martin@home-of-linux.org>
* configure.in (INCLUDES): Define `LIBGTOP_VERSION_CODE' here so we
diff --git a/glibtop.h b/glibtop.h
index a4d652ef..0d861d36 100644
--- a/glibtop.h
+++ b/glibtop.h
@@ -38,10 +38,6 @@
#include <glibtop_machine.h>
#endif
-#ifndef GLIBTOP_MOUNTENTRY_LEN
-#define GLIBTOP_MOUNTENTRY_LEN 79
-#endif
-
typedef struct _glibtop glibtop;
#include <glibtop/sysdeps.h>
diff --git a/include/glibtop/limits.h b/include/glibtop/limits.h
index b07d5f23..7ff05d0f 100644
--- a/include/glibtop/limits.h
+++ b/include/glibtop/limits.h
@@ -36,6 +36,9 @@ BEGIN_LIBGTOP_DECLS
/* Maximum number of process groups in glibtop_proc_uid. */
#define GLIBTOP_MAX_GROUPS 32
+/* Maximum length of a mountpoint/device name in glibtop_mountlist. */
+#define GLIBTOP_MOUNTENTRY_LEN 79
+
END_LIBGTOP_DECLS
#endif