diff options
Diffstat (limited to 'libc/sysdeps/linux/common/close.c')
-rw-r--r-- | libc/sysdeps/linux/common/close.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/close.c b/libc/sysdeps/linux/common/close.c index 6a160b43e..be3d2e051 100644 --- a/libc/sysdeps/linux/common/close.c +++ b/libc/sysdeps/linux/common/close.c @@ -10,9 +10,5 @@ #include <sys/syscall.h> #include <unistd.h> -extern __typeof(close) __libc_close; -#define __NR___libc_close __NR_close -_syscall1(int, __libc_close, int, fd) -/* libc_hidden_proto(close) */ -weak_alias(__libc_close,close) -libc_hidden_weak(close) +_syscall1(int, close, int, fd) +libc_hidden_def(close) |