diff options
Diffstat (limited to 'mdk-stage1/dietlibc/lib/accept.c')
-rw-r--r-- | mdk-stage1/dietlibc/lib/accept.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mdk-stage1/dietlibc/lib/accept.c b/mdk-stage1/dietlibc/lib/accept.c index c7e8254ca..08359b894 100644 --- a/mdk-stage1/dietlibc/lib/accept.c +++ b/mdk-stage1/dietlibc/lib/accept.c @@ -1,14 +1,12 @@ -#include <linux/net.h> +#include <linuxnet.h> extern int socketcall(int callno,long* args); +int __libc_accept(int a, void * addr, void * addr2); + int __libc_accept(int a, void * addr, void * addr2) { -#ifdef __i386__ - return socketcall(SYS_ACCEPT, (long*)&a); -#else unsigned long args[] = { a, (long) addr, (long) addr2 }; return socketcall(SYS_ACCEPT, args); -#endif } Diffstat (limited to 'mdk-stage1/dietlibc/alpha/unified.S') 0 files changed, 0 insertions, 0 deletions |