summaryrefslogtreecommitdiffhomepage
path: root/du.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-20 06:14:08 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-20 06:14:08 +0000
commitcbe31dace5fb24304694d399b9eb267fbe752516 (patch)
tree49d1bb722d95eb1aded6b5d354ac86e56c481c10 /du.c
parent94456f598417f2f61edb97b5ab67ddfdc408ad10 (diff)
It turns out that DODMALLOC was broken when I reorganized busybox.h
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
Diffstat (limited to 'du.c')
-rw-r--r--du.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/du.c b/du.c
index 516f4c92b..6197b0bc1 100644
--- a/du.c
+++ b/du.c
@@ -22,11 +22,6 @@
*
*/
-#include "busybox.h"
-#define BB_DECLARE_EXTERN
-#define bb_need_name_too_long
-#include "messages.c"
-
#include <sys/types.h>
#include <fcntl.h>
#include <dirent.h>
@@ -34,6 +29,11 @@
#include <stdlib.h>
#include <getopt.h>
#include <errno.h>
+#include "busybox.h"
+#define BB_DECLARE_EXTERN
+#define bb_need_name_too_long
+#include "messages.c"
+
#ifdef BB_FEATURE_HUMAN_READABLE
unsigned long du_disp_hr = KILOBYTE;
@@ -187,7 +187,7 @@ int du_main(int argc, char **argv)
return status;
}
-/* $Id: du.c,v 1.37 2001/02/14 21:23:05 andersen Exp $ */
+/* $Id: du.c,v 1.38 2001/02/20 06:14:07 andersen Exp $ */
/*
Local Variables:
c-file-style: "linux"