summaryrefslogtreecommitdiff
path: root/include/sys/vfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/vfs.h')
-rw-r--r--include/sys/vfs.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/include/sys/vfs.h b/include/sys/vfs.h
index 1018591b9..fa22d31c4 100644
--- a/include/sys/vfs.h
+++ b/include/sys/vfs.h
@@ -1,17 +1,4 @@
-#ifndef _SYS_VFS_H
-#define _SYS_VFS_H
+/* Other systems declare `struct statfs' et al in <sys/vfs.h>,
+ so we have this file to be compatible with programs expecting it. */
-#include <features.h>
-#include <linux/vfs.h>
-
-__BEGIN_DECLS
-
-extern int __statfs __P ((__const char *__path, struct statfs *__buf));
-extern int statfs __P ((__const char *__path, struct statfs *__buf));
-
-extern int __fstatfs __P ((int __fildes, struct statfs *__buf));
-extern int fstatfs __P ((int __fildes, struct statfs *__buf));
-
-__END_DECLS
-
-#endif /*_SYS_VFS_H */
+#include <sys/statfs.h>