diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-10 18:15:33 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-10 18:15:33 +0000 |
commit | 76924b4458605d292202ab87be64853dba1c0a70 (patch) | |
tree | 995ac0717ba38e2c74a832b1f9d7c4e0c94ce513 /libc/sysdeps/linux/common/fstat.c | |
parent | ec92d6fe7624b49e266c5e57e7d12c4512dd290b (diff) | |
download | uClibc-alpine-76924b4458605d292202ab87be64853dba1c0a70.tar.bz2 uClibc-alpine-76924b4458605d292202ab87be64853dba1c0a70.tar.xz |
Finish up changes for sigaction and NPTL.
Diffstat (limited to 'libc/sysdeps/linux/common/fstat.c')
-rw-r--r-- | libc/sysdeps/linux/common/fstat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/fstat.c b/libc/sysdeps/linux/common/fstat.c index 0116aeaaa..208227a7e 100644 --- a/libc/sysdeps/linux/common/fstat.c +++ b/libc/sysdeps/linux/common/fstat.c @@ -17,7 +17,7 @@ #define __NR___syscall_fstat __NR_fstat static inline _syscall2(int, __syscall_fstat, int, fd, struct kernel_stat *, buf); -int fstat(int fd, struct stat *buf) +int attribute_hidden __fstat(int fd, struct stat *buf) { int result; struct kernel_stat kbuf; @@ -28,7 +28,8 @@ int fstat(int fd, struct stat *buf) } return result; } +strong_alias(__fstat,fstat) #if ! defined __NR_fstat64 && defined __UCLIBC_HAS_LFS__ -weak_alias(fstat, fstat64); +weak_alias(fstat,fstat64) #endif |