summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/fstat.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-10 02:20:00 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-10 02:20:00 +0000
commit36bff6b9bf5265c4d02fc6256dd5b3c81db709ff (patch)
tree64b964098a55061701fd85fa5ecc465891dbe696 /libc/sysdeps/linux/common/fstat.c
parent3720c42fcc3645f08053087b29e8f44cf9aeb438 (diff)
Do hidden __*stat*
Diffstat (limited to 'libc/sysdeps/linux/common/fstat.c')
-rw-r--r--libc/sysdeps/linux/common/fstat.c5
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