diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/fcntl.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/fcntl.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/fcntl.c b/sysdeps/unix/sysv/linux/i386/fcntl.c index 3af0fb5f36..12bb291381 100644 --- a/sysdeps/unix/sysv/linux/i386/fcntl.c +++ b/sysdeps/unix/sysv/linux/i386/fcntl.c @@ -25,9 +25,6 @@ #include <sys/syscall.h> #include "../kernel-features.h" -#undef __libc_fcntl -#undef __fcntl - extern int __syscall_fcntl (int __fd, int __cmd, ...); #ifdef __NR_fcntl64 extern int __syscall_fcntl64 (int __fd, int __cmd, ...); @@ -133,7 +130,8 @@ __libc_fcntl (int fd, int cmd, ...) return -1; #endif /* __ASSUME_FCNTL64 */ } -INTDEF2(__libc_fcntl, __fcntl); +libc_hidden_def (__libc_fcntl) weak_alias (__libc_fcntl, __fcntl) +libc_hidden_weak (__fcntl) weak_alias (__libc_fcntl, fcntl) |