diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/chown.c | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/fcntl.c | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/sigaction.c | 3 |
3 files changed, 6 insertions, 7 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/chown.c b/sysdeps/unix/sysv/linux/i386/chown.c index a54f2b5dd3..7ff8740f90 100644 --- a/sysdeps/unix/sysv/linux/i386/chown.c +++ b/sysdeps/unix/sysv/linux/i386/chown.c @@ -154,14 +154,14 @@ compat_symbol (libc, _chown_is_lchown, chown, GLIBC_2_0); #endif #ifdef __NR_lchown -INTDEF2(__real_chown, __chown) strong_alias (__real_chown, _real_chown) versioned_symbol (libc, __real_chown, __chown, GLIBC_2_1); versioned_symbol (libc, _real_chown, chown, GLIBC_2_1); +libc_hidden_ver (__real_chown, __chown) #else -INTDEF2(__chown_is_lchown, __chown) strong_alias (__chown_is_lchown, __chown_is_lchown21) strong_alias (__chown_is_lchown, _chown_is_lchown21) versioned_symbol (libc, __chown_is_lchown21, __chown, GLIBC_2_1); versioned_symbol (libc, _chown_is_lchown21, chown, GLIBC_2_1); +libc_hidden_ver (__chown_is_lchown, __chown) #endif 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) diff --git a/sysdeps/unix/sysv/linux/i386/sigaction.c b/sysdeps/unix/sysv/linux/i386/sigaction.c index 773101fe6c..8e5ac84dcf 100644 --- a/sysdeps/unix/sysv/linux/i386/sigaction.c +++ b/sysdeps/unix/sysv/linux/i386/sigaction.c @@ -1,5 +1,5 @@ /* POSIX.1 `sigaction' call for Linux/i386. - Copyright (C) 1991, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. + Copyright (C) 1991,95,96,97,98,99,2000,02 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -149,6 +149,7 @@ __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact) } weak_alias (__libc_sigaction, __sigaction) +libc_hidden_weak (__sigaction) weak_alias (__libc_sigaction, sigaction) /* NOTE: Please think twice before making any changes to the bits of |