summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen2001-02-14 07:15:30 +0000
committerEric Andersen2001-02-14 07:15:30 +0000
commitfc83c4c3535cb5bce344821d382122262a8450f5 (patch)
treec61695c497186a7e201315b93541846c3a72f201 /include
parent6fd8c664c1bcb44429b81444be640ff08cac3702 (diff)
downloadbusybox-fc83c4c3535cb5bce344821d382122262a8450f5.zip
busybox-fc83c4c3535cb5bce344821d382122262a8450f5.tar.gz
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')
-rw-r--r--include/busybox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/busybox.h b/include/busybox.h
index 2fc0cc7..101e659 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -232,7 +232,7 @@ extern int sysinfo (struct sysinfo* info);
#endif
#ifdef BB_FEATURE_HUMAN_READABLE
-char *format(unsigned long val, unsigned long hr);
+const char *format(unsigned long val, unsigned long hr);
#define KILOBYTE 1024
#define MEGABYTE (KILOBYTE*1024)
#define GIGABYTE (MEGABYTE*1024)