aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-14 07:15:30 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-14 07:15:30 +0000
commit40d6f5d9c4eaabc020c0dc4abc2236f013c97e9e (patch)
treec61695c497186a7e201315b93541846c3a72f201 /include
parent5e7e2468e05ce0a6035166e9f09d46b412709e5e (diff)
downloadbusybox-w32-40d6f5d9c4eaabc020c0dc4abc2236f013c97e9e.tar.gz
busybox-w32-40d6f5d9c4eaabc020c0dc4abc2236f013c97e9e.tar.bz2
busybox-w32-40d6f5d9c4eaabc020c0dc4abc2236f013c97e9e.zip
Several cleanups from Manuel Novoa III.
get_kernel_revision -- size reduction NOTE: may want to combine with get_kernel_version in insmod??? parse_mode -- size reduction, multiple settings with "," now work correctly, sticky-bit setting now implemented process_escape_sequence -- size reduction, octal code to big for char bug fixed format -- size reduction, val > LONG_MAX and hr = 1 printing bug fixed (was %ld), git-svn-id: svn://busybox.net/trunk/busybox@1800 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/busybox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/busybox.h b/include/busybox.h
index 2fc0cc7e0..101e65989 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -232,7 +232,7 @@ extern int sysinfo (struct sysinfo* info);
232#endif 232#endif
233 233
234#ifdef BB_FEATURE_HUMAN_READABLE 234#ifdef BB_FEATURE_HUMAN_READABLE
235char *format(unsigned long val, unsigned long hr); 235const char *format(unsigned long val, unsigned long hr);
236#define KILOBYTE 1024 236#define KILOBYTE 1024
237#define MEGABYTE (KILOBYTE*1024) 237#define MEGABYTE (KILOBYTE*1024)
238#define GIGABYTE (MEGABYTE*1024) 238#define GIGABYTE (MEGABYTE*1024)