summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/close.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/close.c')
-rw-r--r--libc/sysdeps/linux/common/close.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/close.c b/libc/sysdeps/linux/common/close.c
index 1e03b091e..2e9c2073d 100644
--- a/libc/sysdeps/linux/common/close.c
+++ b/libc/sysdeps/linux/common/close.c
@@ -10,6 +10,7 @@
#include "syscalls.h"
#include <unistd.h>
-#define __NR___libc_close __NR_close
-_syscall1(int, __libc_close, int, fd);
-weak_alias(__libc_close, close);
+#define __NR___close __NR_close
+attribute_hidden _syscall1(int, __close, int, fd);
+strong_alias(__close,close)
+weak_alias(__close,__libc_close)