summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/readlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/readlink.c')
-rw-r--r--libc/sysdeps/linux/common/readlink.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/readlink.c b/libc/sysdeps/linux/common/readlink.c
index 8ebb5eaa9..45db1a64f 100644
--- a/libc/sysdeps/linux/common/readlink.c
+++ b/libc/sysdeps/linux/common/readlink.c
@@ -9,4 +9,6 @@
#include "syscalls.h"
#include <unistd.h>
-_syscall3(int, readlink, const char *, path, char *, buf, size_t, bufsiz);
+#define __NR___readlink __NR_readlink
+attribute_hidden _syscall3(int, __readlink, const char *, path, char *, buf, size_t, bufsiz);
+strong_alias(__readlink,readlink)