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