aboutsummaryrefslogtreecommitdiff
path: root/miscutils/update.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 /miscutils/update.c
parent94456f598417f2f61edb97b5ab67ddfdc408ad10 (diff)
downloadbusybox-w32-cbe31dace5fb24304694d399b9eb267fbe752516.tar.gz
busybox-w32-cbe31dace5fb24304694d399b9eb267fbe752516.tar.bz2
busybox-w32-cbe31dace5fb24304694d399b9eb267fbe752516.zip
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 'miscutils/update.c')
-rw-r--r--miscutils/update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/update.c b/miscutils/update.c
index 2cf4a98b2..b282b9e18 100644
--- a/miscutils/update.c
+++ b/miscutils/update.c
@@ -28,7 +28,6 @@
28 * earlier) kernel. 2.2.x and higher flush filesystem buffers automatically. 28 * earlier) kernel. 2.2.x and higher flush filesystem buffers automatically.
29 */ 29 */
30 30
31#include "busybox.h"
32#include <sys/param.h> 31#include <sys/param.h>
33#include <sys/syslog.h> 32#include <sys/syslog.h>
34#include <unistd.h> /* for getopt() */ 33#include <unistd.h> /* for getopt() */
@@ -42,6 +41,7 @@
42#include <linux/unistd.h> 41#include <linux/unistd.h>
43static _syscall2(int, bdflush, int, func, int, data); 42static _syscall2(int, bdflush, int, func, int, data);
44#endif /* __GLIBC__ */ 43#endif /* __GLIBC__ */
44#include "busybox.h"
45 45
46static unsigned int sync_duration = 30; 46static unsigned int sync_duration = 30;
47static unsigned int flush_duration = 5; 47static unsigned int flush_duration = 5;