Browse Source

- remove fstatfs() and statfs() related headers upon request

Bernhard Reutner-Fischer 15 years ago
parent
commit
f1358210f6
2 changed files with 3 additions and 2 deletions
  1. 3 0
      Makefile.in
  2. 0 2
      include/sys/statfs.h

+ 3 - 0
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

+ 0 - 2
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