summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1999-05-28 12:01:56 +0000
committerMartin Baulig <martin@src.gnome.org>1999-05-28 12:01:56 +0000
commit0e9245ba2819a21bfa4c6969a1d3a775f852bd8a (patch)
treedd0f1722b48c831ccd6224b6518145227a327552
parent091811a4d6ebbd99f39221c5c23ae0cacba94f64 (diff)
downloadlibgtop-0e9245ba2819a21bfa4c6969a1d3a775f852bd8a.tar.gz
Move this here.
1999-05-28 Martin Baulig <martin@home-of-linux.org> * glibtop.h (GLIBTOP_MOUNTENTRY_LEN): Move this * include/glibtop/limits.h: here.
-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