summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/fstat.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-27 18:21:33 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-27 18:21:33 +0000
commit28c8634afdc1fa236679b49ab0d5a019379c6db1 (patch)
treefda9d6e124a32799b07247f8d38d0cc8f963cd4e /libc/sysdeps/linux/common/fstat.c
parenteb38b2d34c32ed3089e2bf8935219a57f84ce7b3 (diff)
downloaduClibc-alpine-28c8634afdc1fa236679b49ab0d5a019379c6db1.tar.bz2
uClibc-alpine-28c8634afdc1fa236679b49ab0d5a019379c6db1.tar.xz
Synch with trunk @ 24165
Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
Diffstat (limited to 'libc/sysdeps/linux/common/fstat.c')
-rw-r--r--libc/sysdeps/linux/common/fstat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/fstat.c b/libc/sysdeps/linux/common/fstat.c
index fee750aa4..6d5cf8b9f 100644
--- a/libc/sysdeps/linux/common/fstat.c
+++ b/libc/sysdeps/linux/common/fstat.c
@@ -18,10 +18,10 @@
#undef fstat64
-libc_hidden_proto(fstat)
+/* libc_hidden_proto(fstat) */
#define __NR___syscall_fstat __NR_fstat
-static __inline__ _syscall2(int, __syscall_fstat, int, fd, struct kernel_stat *, buf);
+static __inline__ _syscall2(int, __syscall_fstat, int, fd, struct kernel_stat *, buf)
int fstat(int fd, struct stat *buf)
{
@@ -38,7 +38,7 @@ libc_hidden_def(fstat)
#if ! defined __NR_fstat64 && defined __UCLIBC_HAS_LFS__
extern __typeof(fstat) fstat64;
-libc_hidden_proto(fstat64)
+/* libc_hidden_proto(fstat64) */
strong_alias(fstat,fstat64)
libc_hidden_def(fstat64)
#endif