aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/statvfs.h
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>2002-06-16 21:02:08 +0000
committerGarrett Wollman <wollman@FreeBSD.org>2002-06-16 21:02:08 +0000
commit6149fe8392f1b392f3319a7f3f47c053623e7ecf (patch)
treefbdb0f94ae6dfd64cdd43a33eb4e3c9e0f56a9fa /sys/sys/statvfs.h
parente5f35c947b752d320d8f034f2eb9cdf7580e8ba6 (diff)
downloadsrc-6149fe8392f1b392f3319a7f3f47c053623e7ecf.tar.gz
src-6149fe8392f1b392f3319a7f3f47c053623e7ecf.zip
Fix two syntax errors and add declarations of statvfs() and fstatvfs().
Notes
Notes: svn path=/head/; revision=98307
Diffstat (limited to 'sys/sys/statvfs.h')
-rw-r--r--sys/sys/statvfs.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/sys/statvfs.h b/sys/sys/statvfs.h
index 89fc148a6c60..ef722c1e847b 100644
--- a/sys/sys/statvfs.h
+++ b/sys/sys/statvfs.h
@@ -43,8 +43,8 @@
* a quality implementation should.)
*/
#ifndef _FSBLKCNT_T_DECLARED /* always declared together */
-typedef _BSD_FSBLKCNT_T_ fsblkcnt_t
-typedef _BSD_FSFILCNT_T_ fsfilcnt_t
+typedef _BSD_FSBLKCNT_T_ fsblkcnt_t;
+typedef _BSD_FSFILCNT_T_ fsfilcnt_t;
#define _FSBLKCNT_T_DECLARED
#endif
@@ -74,4 +74,8 @@ struct statvfs {
#define ST_RDONLY 0x1
#define ST_NOSUID 0x2
+__BEGIN_DECLS
+int fstatvfs(int, struct statvfs *);
+int statvfs(const char *__restrict, struct statvfs *__restrict);
+__END_DECLS
#endif /* _SYS_STATVFS_H_ */