summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/accept.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/accept.S')
-rw-r--r--sysdeps/unix/sysv/linux/accept.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/accept.S b/sysdeps/unix/sysv/linux/accept.S
index b713a6e267..196634d46a 100644
--- a/sysdeps/unix/sysv/linux/accept.S
+++ b/sysdeps/unix/sysv/linux/accept.S
@@ -1,4 +1,5 @@
#define socket accept
+#define __socket __libc_accept
#define NARGS 3
#include <socket.S>
-strong_alias (__accept, __libc_accept)
+weak_alias (__libc_accept, __accept)