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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/readlink.c b/libc/sysdeps/linux/common/readlink.c
index 45db1a64f..d1587154d 100644
--- a/libc/sysdeps/linux/common/readlink.c
+++ b/libc/sysdeps/linux/common/readlink.c
@@ -9,6 +9,6 @@
#include "syscalls.h"
#include <unistd.h>
-#define __NR___readlink __NR_readlink
-attribute_hidden _syscall3(int, __readlink, const char *, path, char *, buf, size_t, bufsiz);
-strong_alias(__readlink,readlink)
+_syscall3(int, readlink, const char *, path, char *, buf, size_t, bufsiz);
+libc_hidden_proto(readlink)
+libc_hidden_def(readlink)