diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-02-14 07:15:30 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-02-14 07:15:30 +0000 |
commit | fc83c4c3535cb5bce344821d382122262a8450f5 (patch) | |
tree | c61695c497186a7e201315b93541846c3a72f201 /include/busybox.h | |
parent | 6fd8c664c1bcb44429b81444be640ff08cac3702 (diff) | |
download | busybox-w32-fc83c4c3535cb5bce344821d382122262a8450f5.tar.gz busybox-w32-fc83c4c3535cb5bce344821d382122262a8450f5.tar.bz2 busybox-w32-fc83c4c3535cb5bce344821d382122262a8450f5.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),
Diffstat (limited to 'include/busybox.h')
-rw-r--r-- | include/busybox.h | 2 |
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 |
235 | char *format(unsigned long val, unsigned long hr); | 235 | const 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) |