diff options
Diffstat (limited to 'mdk-stage1/dietlibc/x86_64/send.c')
-rw-r--r-- | mdk-stage1/dietlibc/x86_64/send.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/mdk-stage1/dietlibc/x86_64/send.c b/mdk-stage1/dietlibc/x86_64/send.c deleted file mode 100644 index bdeb1d31f..000000000 --- a/mdk-stage1/dietlibc/x86_64/send.c +++ /dev/null @@ -1,13 +0,0 @@ -#include <sys/types.h> -#include <sys/socket.h> -#include <linuxnet.h> - -int __libc_send(int fd, const void * buf, size_t n, int flags); - /* shut up gcc warning about missing prototype */ - -int __libc_send(int fd, const void * buf, size_t n, int flags) { - return sendto(fd, buf, n, flags, NULL, 0); -} - -int send(int a, const void * b, size_t c, int flags) - __attribute__ ((weak, alias("__libc_send"))); |