aboutsummaryrefslogtreecommitdiffstats
path: root/SwapMeter.h
diff options
context:
space:
mode:
authorEugene V. Lyubimkin <jackyf@debian.org>2011-11-26 15:58:33 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:30 +0200
commitc65eb8be811f59b55d64d9e7654c33708de79ad9 (patch)
treeee6e542b988263c49f0e1200d6aa5aa635667fe8 /SwapMeter.h
parent38174fffd79f54a8be7642bf170a2320b29e8063 (diff)
parenteaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95 (diff)
downloaddebian_htop-c65eb8be811f59b55d64d9e7654c33708de79ad9.tar.gz
debian_htop-c65eb8be811f59b55d64d9e7654c33708de79ad9.tar.bz2
debian_htop-c65eb8be811f59b55d64d9e7654c33708de79ad9.zip
Imported Debian patch 1.0-1debian/1.0-1
Diffstat (limited to 'SwapMeter.h')
-rw-r--r--SwapMeter.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/SwapMeter.h b/SwapMeter.h
index efaab23..6bdd130 100644
--- a/SwapMeter.h
+++ b/SwapMeter.h
@@ -4,7 +4,7 @@
#define HEADER_SwapMeter
/*
htop
-(C) 2004-2010 Hisham H. Muhammad
+(C) 2004-2011 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
@@ -22,8 +22,13 @@ in the source distribution for its full text.
#include "debug.h"
#include <assert.h>
+#define KILOBYTE 1
+#define MEGABYTE 1024
+#define GIGABYTE 1048576
+
extern int SwapMeter_attributes[];
+/* NOTE: Value is in kilobytes */
extern MeterType SwapMeter;
#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy