aboutsummaryrefslogtreecommitdiff
path: root/libbb/libbb.h
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-06-13 08:02:45 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-06-13 08:02:45 +0000
commit553460f253c025d4b1f319c1513c0259dc4b7934 (patch)
tree64925420925deb361a2024b9b362e5c987334124 /libbb/libbb.h
parent0206172be8940d86e81f52636d2dd9dbcd32388b (diff)
downloadbusybox-w32-553460f253c025d4b1f319c1513c0259dc4b7934.tar.gz
busybox-w32-553460f253c025d4b1f319c1513c0259dc4b7934.tar.bz2
busybox-w32-553460f253c025d4b1f319c1513c0259dc4b7934.zip
I reworked make_human_readable_str so it now has a sane interface,
and then fixed up df, du, and ls to use the new interface. I also fixed up some formatting issues in ls while I was in there. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2826 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb/libbb.h')
-rw-r--r--libbb/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h
index f24a38109..893a9f07f 100644
--- a/libbb/libbb.h
+++ b/libbb/libbb.h
@@ -198,12 +198,12 @@ struct sysinfo {
198}; 198};
199extern int sysinfo (struct sysinfo* info); 199extern int sysinfo (struct sysinfo* info);
200 200
201const char *make_human_readable_str(unsigned long val, unsigned long not_hr);
202enum { 201enum {
203 KILOBYTE = 1024, 202 KILOBYTE = 1024,
204 MEGABYTE = (KILOBYTE*1024), 203 MEGABYTE = (KILOBYTE*1024),
205 GIGABYTE = (MEGABYTE*1024) 204 GIGABYTE = (MEGABYTE*1024)
206}; 205};
206const char *make_human_readable_str(unsigned long size, unsigned long block_size, unsigned long display_unit);
207 207
208int ask_confirmation(void); 208int ask_confirmation(void);
209int klogctl(int type, char * b, int len); 209int klogctl(int type, char * b, int len);