From e76c3b08e105147e3cef7e8d38d65da2fac6b2e1 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 5 Apr 2001 03:14:39 +0000 Subject: 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 --- init/init.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'init/init.c') 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; #if defined(__GLIBC__) #include #else -#include -#include -static _syscall2(int, bdflush, int, func, int, data); +extern int bdflush (int func, long int data); #endif /* __GLIBC__ */ -- cgit v1.2.3