summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-26 09:24:33 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-26 09:24:33 +0000
commitf1358210f659767a87869e48de89299e84515ae9 (patch)
treee4b8b5f551ee50bd7931a54e6f4a9f0b6be150be
parent20cff295659e9bd1bee2c316ee17a53cad693ea2 (diff)
- remove fstatfs() and statfs() related headers upon request
-rw-r--r--Makefile.in3
-rw-r--r--include/sys/statfs.h2
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