summaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
authorEric Andersen2001-04-05 03:14:39 +0000
committerEric Andersen2001-04-05 03:14:39 +0000
commite76c3b08e105147e3cef7e8d38d65da2fac6b2e1 (patch)
tree87f705b9e4e4e48700ac61e9538c637ae2b395a7 /init.c
parent3c0364f3911ec9f43e1c8c96ec2c8e30b1b52c47 (diff)
downloadbusybox-e76c3b08e105147e3cef7e8d38d65da2fac6b2e1.zip
busybox-e76c3b08e105147e3cef7e8d38d65da2fac6b2e1.tar.gz
A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a few
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
Diffstat (limited to 'init.c')
-rw-r--r--init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/init.c b/init.c
index 570b8a6..bf992b5 100644
--- a/init.c
+++ b/init.c
@@ -115,9 +115,7 @@ static const int RB_AUTOBOOT = 0x01234567;
#if defined(__GLIBC__)
#include <sys/kdaemon.h>
#else
-#include <sys/syscall.h>
-#include <linux/unistd.h>
-static _syscall2(int, bdflush, int, func, int, data);
+extern int bdflush (int func, long int data);
#endif /* __GLIBC__ */