diff options
Diffstat (limited to 'mdk-stage1/dietlibc/lib/recvfrom.c')
-rw-r--r-- | mdk-stage1/dietlibc/lib/recvfrom.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/mdk-stage1/dietlibc/lib/recvfrom.c b/mdk-stage1/dietlibc/lib/recvfrom.c deleted file mode 100644 index b66ce3813..000000000 --- a/mdk-stage1/dietlibc/lib/recvfrom.c +++ /dev/null @@ -1,13 +0,0 @@ -#include <sys/types.h> -#include <linuxnet.h> - -extern int socketcall(int callno,long* args); - -int __libc_recvfrom(int a, const void * b, size_t c, int flags, void *to, void *tolen); -int __libc_recvfrom(int a, const void * b, size_t c, int flags, void *to, void *tolen) { - unsigned long args[] = { a, (long) b, c, flags, (long) to, (long) tolen }; - return socketcall(SYS_RECVFROM, args); -} - -int recvfrom(int a, const void * b, size_t c, int flags, void *to, void *tolen) - __attribute__ ((weak,alias("__libc_recvfrom"))) ; |