Applied patch from David Douthitt to fix build error in df.c when

BB_FEATURE_HUMAN_READABLE was disabled.
This commit is contained in:
Mark Whitley 2001-03-01 18:51:33 +00:00
parent de4406747b
commit 39842defda
2 changed files with 2 additions and 2 deletions

View File

@ -234,10 +234,10 @@ extern int sysinfo (struct sysinfo* info);
#ifdef BB_FEATURE_HUMAN_READABLE
const char *format(unsigned long val, unsigned long hr);
#endif
#define KILOBYTE 1024
#define MEGABYTE (KILOBYTE*1024)
#define GIGABYTE (MEGABYTE*1024)
#endif
#ifdef BB_FEATURE_BUFFERS_GO_ON_STACK
#define RESERVE_BB_BUFFER(buffer,len) char buffer[len]

View File

@ -234,10 +234,10 @@ extern int sysinfo (struct sysinfo* info);
#ifdef BB_FEATURE_HUMAN_READABLE
const char *format(unsigned long val, unsigned long hr);
#endif
#define KILOBYTE 1024
#define MEGABYTE (KILOBYTE*1024)
#define GIGABYTE (MEGABYTE*1024)
#endif
#ifdef BB_FEATURE_BUFFERS_GO_ON_STACK
#define RESERVE_BB_BUFFER(buffer,len) char buffer[len]