summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/unlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/unlink.c')
-rw-r--r--libc/sysdeps/linux/common/unlink.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/unlink.c b/libc/sysdeps/linux/common/unlink.c
index 1c9aa17cf..4d9c3cda9 100644
--- a/libc/sysdeps/linux/common/unlink.c
+++ b/libc/sysdeps/linux/common/unlink.c
@@ -9,4 +9,6 @@
#include "syscalls.h"
#include <unistd.h>
-_syscall1(int, unlink, const char *, pathname);
+#define __NR___unlink __NR_unlink
+attribute_hidden _syscall1(int, __unlink, const char *, pathname);
+strong_alias(__unlink,unlink)