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.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/close.c b/libc/sysdeps/linux/common/close.c
index 2e9c2073d..38381a223 100644
--- a/libc/sysdeps/linux/common/close.c
+++ b/libc/sysdeps/linux/common/close.c
@@ -10,7 +10,8 @@
#include "syscalls.h"
#include <unistd.h>
-#define __NR___close __NR_close
-attribute_hidden _syscall1(int, __close, int, fd);
-strong_alias(__close,close)
-weak_alias(__close,__libc_close)
+#define __NR___libc_close __NR_close
+_syscall1(int, __libc_close, int, fd);
+strong_alias(__libc_close,close)
+libc_hidden_proto(close)
+libc_hidden_def(close)