From f1358210f659767a87869e48de89299e84515ae9 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 26 Nov 2008 09:24:33 +0000 Subject: - remove fstatfs() and statfs() related headers upon request --- Makefile.in | 3 +++ include/sys/statfs.h | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 4649181df..5f460a613 100644 --- a/Makefile.in +++ b/Makefile.in @@ -329,8 +329,11 @@ ifneq ($(UCLIBC_LINUX_SPECIFIC),y) $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/sendfile.h $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/fsuid.h $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/signalfd.h + $(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/statfs.h + $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/statfs.h $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/swap.h $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/sysctl.h + $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/vfs.h endif ifneq ($(UCLIBC_SV4_DEPRECATED),y) # Remove ustat.h since deprecated SV4 support was disabled upon request diff --git a/include/sys/statfs.h b/include/sys/statfs.h index 504be0308..c754ea35c 100644 --- a/include/sys/statfs.h +++ b/include/sys/statfs.h @@ -46,7 +46,6 @@ extern int statfs64 (__const char *__file, struct statfs64 *__buf) libc_hidden_proto(statfs64) #endif -#if defined __UCLIBC_LINUX_SPECIFIC__ /* Return information about the filesystem containing the file FILDES refers to. */ #ifndef __USE_FILE_OFFSET64 @@ -65,7 +64,6 @@ extern int fstatfs64 (int __fildes, struct statfs64 *__buf) __THROW __nonnull ((2)); libc_hidden_proto(fstatfs64) #endif -#endif /* __UCLIBC_LINUX_SPECIFIC__ */ __END_DECLS -- cgit v1.2.3