summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/__syscall_fcntl64.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-15 15:46:44 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-15 15:46:44 +0000
commita0a0d235399e6a1d0e2f9a4bec7d1980b0f4d5b8 (patch)
tree67d693f16b8d1008d624d49fcdd0e1894c542296 /libc/sysdeps/linux/common/__syscall_fcntl64.c
parent8a87f4950a3bfde31c6960a17236ba3903f689e4 (diff)
Undo hiding __libc_fcntl[64], CANCELABLE_SYSCALL is not grep friendly ;-(, have to find some other way to make it internal to libc and libpthread
Diffstat (limited to 'libc/sysdeps/linux/common/__syscall_fcntl64.c')
-rw-r--r--libc/sysdeps/linux/common/__syscall_fcntl64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/__syscall_fcntl64.c b/libc/sysdeps/linux/common/__syscall_fcntl64.c
index 64421b579..7f9164b52 100644
--- a/libc/sysdeps/linux/common/__syscall_fcntl64.c
+++ b/libc/sysdeps/linux/common/__syscall_fcntl64.c
@@ -14,7 +14,7 @@
#if defined __UCLIBC_HAS_LFS__ && defined __NR_fcntl64
#define __NR___syscall_fcntl64 __NR_fcntl64
static inline _syscall3(int, __syscall_fcntl64, int, fd, int, cmd, long, arg);
-int attribute_hidden __libc_fcntl64(int fd, int cmd, ...)
+int __libc_fcntl64(int fd, int cmd, ...)
{
long arg;
va_list list;
@@ -26,5 +26,5 @@ int attribute_hidden __libc_fcntl64(int fd, int cmd, ...)
return (__syscall_fcntl64(fd, cmd, arg));
}
-strong_alias(__libc_fcntl64, fcntl64)
+weak_alias(__libc_fcntl64, fcntl64)
#endif