about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/recv.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/recv.S')
-rw-r--r--sysdeps/unix/sysv/linux/recv.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/recv.S b/sysdeps/unix/sysv/linux/recv.S
index d895080f9a..cb9eb91b8c 100644
--- a/sysdeps/unix/sysv/linux/recv.S
+++ b/sysdeps/unix/sysv/linux/recv.S
@@ -1,4 +1,5 @@
 #define	socket	recv
+#define	__socket __libc_recv
 #define	NARGS	4
 #include <socket.S>
-strong_alias (__recv, __libc_recv)
+weak_alias (__libc_recv, __recv)