summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/lib/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/dietlibc/lib/send.c')
-rw-r--r--mdk-stage1/dietlibc/lib/send.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdk-stage1/dietlibc/lib/send.c b/mdk-stage1/dietlibc/lib/send.c
index be43b4e63..c1adf1b5d 100644
--- a/mdk-stage1/dietlibc/lib/send.c
+++ b/mdk-stage1/dietlibc/lib/send.c
@@ -2,7 +2,7 @@
extern int socketcall(int callno,long* args);
-int send(int a, const void * b, size_t c, int flags) {
+int __libc_send(int a, const void * b, size_t c, int flags) {
#ifdef __i386__
return socketcall(SYS_SEND, (long*)&a);
#else
@@ -11,3 +11,5 @@ int send(int a, const void * b, size_t c, int flags) {
#endif
}
+int send(int a, const void * b, size_t c, int flags)
+ __attribute__ ((weak, alias("__libc_send")));