summaryrefslogtreecommitdiff
path: root/libc/misc/statfs/fstatvfs.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-14 14:30:48 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-14 14:30:48 +0000
commit08b75763d15cf9e5f45eef70fe7e30ce2b748ae3 (patch)
tree938826102a35c2538079ceecdcba395c253b84cb /libc/misc/statfs/fstatvfs.c
parent074cafed76801cb21a2b66e1ab4eef6c943eb52a (diff)
- improve UCLIBC_LINUX_SPECIFIC
compile-tested only, fixes libc/misc/statfs/fstatfs64.c:29: error: 'fstatfs' undeclared here (not in a function)
Diffstat (limited to 'libc/misc/statfs/fstatvfs.c')
-rw-r--r--libc/misc/statfs/fstatvfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/misc/statfs/fstatvfs.c b/libc/misc/statfs/fstatvfs.c
index 231d45207..e21235e01 100644
--- a/libc/misc/statfs/fstatvfs.c
+++ b/libc/misc/statfs/fstatvfs.c
@@ -34,7 +34,6 @@ libc_hidden_proto(setmntent)
libc_hidden_proto(getmntent_r)
libc_hidden_proto(endmntent)
-#if !defined __UCLIBC_LINUX_SPECIFIC__
#ifndef __USE_FILE_OFFSET64
extern int fstatfs (int __fildes, struct statfs *__buf)
__THROW __nonnull ((2));
@@ -46,7 +45,7 @@ extern int __REDIRECT_NTH (fstatfs, (int __fildes, struct statfs *__buf),
# define fstatfs fstatfs64
# endif
#endif
-#endif
+
extern __typeof(fstatfs) __libc_fstatfs;
libc_hidden_proto(__libc_fstatfs)
libc_hidden_proto(fstat)