diff options
Diffstat (limited to 'usr.bin/systat/convtbl.h')
-rw-r--r-- | usr.bin/systat/convtbl.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/usr.bin/systat/convtbl.h b/usr.bin/systat/convtbl.h index 87a6c09..c3daa0f 100644 --- a/usr.bin/systat/convtbl.h +++ b/usr.bin/systat/convtbl.h @@ -34,12 +34,6 @@ #include <sys/types.h> #include <stdint.h> -#define BITS (1) -#define BYTES (1) -#define KILO (1024LL) -#define MEGA (KILO * 1024) -#define GIGA (MEGA * 1024) - enum scale { SC_BYTE, SC_KILOBYTE, @@ -52,18 +46,6 @@ enum scale { SC_AUTO /* KEEP THIS LAST */ }; -#define BIT (8) -#define BYTE (1) - -struct convtbl { - uintmax_t mul; - uintmax_t scale; - const char *str; - const char *name; -}; - -extern struct convtbl convtbl[]; - extern double convert(const uintmax_t, const int); extern const char *get_helplist(void); extern int get_scale(const char *); |