From eaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:29 +0200 Subject: Imported Upstream version 1.0 --- SwapMeter.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'SwapMeter.h') 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 +#define KILOBYTE 1 +#define MEGABYTE 1024 +#define GIGABYTE 1048576 + extern int SwapMeter_attributes[]; +/* NOTE: Value is in kilobytes */ extern MeterType SwapMeter; #endif -- cgit v1.2.3