summaryrefslogtreecommitdiff
path: root/include/sys/vfs.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-09 04:29:04 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-09 04:29:04 +0000
commit283f7172a1d7f3e42a38747f7a9b83bfc04c5238 (patch)
tree968b54f8058bfa9458086e677d6aa9ac9bee96f5 /include/sys/vfs.h
parentc0b41a5aea6d4533277523ba63e0f996c64e44d8 (diff)
fix sys/vfs so it doesn't pull in kernel stuff.
-Erik
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>