aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2001-03-01 18:51:33 +0000
committerMark Whitley <markw@lineo.com>2001-03-01 18:51:33 +0000
commit39842defdab7ccb3438adf8258a164f39696ccb2 (patch)
tree3f5c1fc4e2dfb7967d02b56b23e7b9d801823653
parentde4406747beb20548e312255e4fc1ae98e426e62 (diff)
downloadbusybox-w32-39842defdab7ccb3438adf8258a164f39696ccb2.tar.gz
busybox-w32-39842defdab7ccb3438adf8258a164f39696ccb2.tar.bz2
busybox-w32-39842defdab7ccb3438adf8258a164f39696ccb2.zip
Applied patch from David Douthitt to fix build error in df.c when
BB_FEATURE_HUMAN_READABLE was disabled.
-rw-r--r--busybox.h2
-rw-r--r--include/busybox.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/busybox.h b/busybox.h
index 53d22115a..99932095b 100644
--- a/busybox.h
+++ b/busybox.h
@@ -234,10 +234,10 @@ extern int sysinfo (struct sysinfo* info);
234 234
235#ifdef BB_FEATURE_HUMAN_READABLE 235#ifdef BB_FEATURE_HUMAN_READABLE
236const char *format(unsigned long val, unsigned long hr); 236const char *format(unsigned long val, unsigned long hr);
237#endif
237#define KILOBYTE 1024 238#define KILOBYTE 1024
238#define MEGABYTE (KILOBYTE*1024) 239#define MEGABYTE (KILOBYTE*1024)
239#define GIGABYTE (MEGABYTE*1024) 240#define GIGABYTE (MEGABYTE*1024)
240#endif
241 241
242#ifdef BB_FEATURE_BUFFERS_GO_ON_STACK 242#ifdef BB_FEATURE_BUFFERS_GO_ON_STACK
243#define RESERVE_BB_BUFFER(buffer,len) char buffer[len] 243#define RESERVE_BB_BUFFER(buffer,len) char buffer[len]
diff --git a/include/busybox.h b/include/busybox.h
index 53d22115a..99932095b 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -234,10 +234,10 @@ extern int sysinfo (struct sysinfo* info);
234 234
235#ifdef BB_FEATURE_HUMAN_READABLE 235#ifdef BB_FEATURE_HUMAN_READABLE
236const char *format(unsigned long val, unsigned long hr); 236const char *format(unsigned long val, unsigned long hr);
237#endif
237#define KILOBYTE 1024 238#define KILOBYTE 1024
238#define MEGABYTE (KILOBYTE*1024) 239#define MEGABYTE (KILOBYTE*1024)
239#define GIGABYTE (MEGABYTE*1024) 240#define GIGABYTE (MEGABYTE*1024)
240#endif
241 241
242#ifdef BB_FEATURE_BUFFERS_GO_ON_STACK 242#ifdef BB_FEATURE_BUFFERS_GO_ON_STACK
243#define RESERVE_BB_BUFFER(buffer,len) char buffer[len] 243#define RESERVE_BB_BUFFER(buffer,len) char buffer[len]