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