diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-05 03:14:39 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-05 03:14:39 +0000 |
commit | 01d0083a639d6b91298c62b9e67b803fe9b9a36d (patch) | |
tree | 87f705b9e4e4e48700ac61e9538c637ae2b395a7 /init | |
parent | ea8519ec8a9e6807e16ca3a138d22201d35b273b (diff) | |
download | busybox-w32-01d0083a639d6b91298c62b9e67b803fe9b9a36d.tar.gz busybox-w32-01d0083a639d6b91298c62b9e67b803fe9b9a36d.tar.bz2 busybox-w32-01d0083a639d6b91298c62b9e67b803fe9b9a36d.zip |
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
git-svn-id: svn://busybox.net/trunk/busybox@2250 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/init/init.c b/init/init.c index 570b8a697..bf992b52c 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -115,9 +115,7 @@ static const int RB_AUTOBOOT = 0x01234567; | |||
115 | #if defined(__GLIBC__) | 115 | #if defined(__GLIBC__) |
116 | #include <sys/kdaemon.h> | 116 | #include <sys/kdaemon.h> |
117 | #else | 117 | #else |
118 | #include <sys/syscall.h> | 118 | extern int bdflush (int func, long int data); |
119 | #include <linux/unistd.h> | ||
120 | static _syscall2(int, bdflush, int, func, int, data); | ||
121 | #endif /* __GLIBC__ */ | 119 | #endif /* __GLIBC__ */ |
122 | 120 | ||
123 | 121 | ||