summaryrefslogtreecommitdiff
path: root/libc/sysdeps
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/sysdeps
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/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/fstatfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/fstatfs.c b/libc/sysdeps/linux/common/fstatfs.c
index 830de8103..8a471d36f 100644
--- a/libc/sysdeps/linux/common/fstatfs.c
+++ b/libc/sysdeps/linux/common/fstatfs.c
@@ -10,7 +10,6 @@
#include <sys/syscall.h>
#include <sys/vfs.h>
-#if !defined __UCLIBC_LINUX_SPECIFIC__
#ifndef __USE_FILE_OFFSET64
extern int fstatfs (int __fildes, struct statfs *__buf)
__THROW __nonnull ((2));
@@ -22,7 +21,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)
#define __NR___libc_fstatfs __NR_fstatfs