summaryrefslogtreecommitdiff
path: root/sysdeps/stub/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/send.c')
-rw-r--r--sysdeps/stub/send.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/stub/send.c b/sysdeps/stub/send.c
index 262818e8a9..a25eb72822 100644
--- a/sysdeps/stub/send.c
+++ b/sysdeps/stub/send.c
@@ -21,7 +21,7 @@
/* Send N bytes of BUF to socket FD. Returns the number sent or -1. */
int
-send (fd, buf, n, flags)
+__send (fd, buf, n, flags)
int fd;
__const __ptr_t buf;
size_t n;
@@ -30,6 +30,7 @@ send (fd, buf, n, flags)
__set_errno (ENOSYS);
return -1;
}
+weak_alias (__send, send)
stub_warning (send)