From 08b75763d15cf9e5f45eef70fe7e30ce2b748ae3 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 14 Jul 2008 14:30:48 +0000 Subject: - improve UCLIBC_LINUX_SPECIFIC compile-tested only, fixes libc/misc/statfs/fstatfs64.c:29: error: 'fstatfs' undeclared here (not in a function) --- libc/unistd/fpathconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/unistd') diff --git a/libc/unistd/fpathconf.c b/libc/unistd/fpathconf.c index f3e2ffe83..96bc62199 100644 --- a/libc/unistd/fpathconf.c +++ b/libc/unistd/fpathconf.c @@ -32,7 +32,7 @@ //#include "linux_fsinfo.h" libc_hidden_proto(fstat) -#if !defined __UCLIBC_LINUX_SPECIFIC__ + #ifndef __USE_FILE_OFFSET64 extern int fstatfs (int __fildes, struct statfs *__buf) __THROW __nonnull ((2)); @@ -44,7 +44,7 @@ extern int fstatfs (int __fildes, struct statfs *__buf) # define fstatfs fstatfs64 # endif #endif -#endif + extern __typeof(fstatfs) __libc_fstatfs; libc_hidden_proto(__libc_fstatfs) -- cgit v1.2.3