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
This commit is contained in:
4
init.c
4
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__ */
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user