diff options
author | wollman <wollman@FreeBSD.org> | 2002-06-16 21:02:08 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2002-06-16 21:02:08 +0000 |
commit | 71c3687248cb3f7f75bea80ea79927fdb3156494 (patch) | |
tree | fbdb0f94ae6dfd64cdd43a33eb4e3c9e0f56a9fa /sys | |
parent | 9acb83325d7fe3f0a39bdd678094a1eea6552289 (diff) | |
download | FreeBSD-src-71c3687248cb3f7f75bea80ea79927fdb3156494.zip FreeBSD-src-71c3687248cb3f7f75bea80ea79927fdb3156494.tar.gz |
Fix two syntax errors and add declarations of statvfs() and fstatvfs().
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/statvfs.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/sys/statvfs.h b/sys/sys/statvfs.h index 89fc148..ef722c1 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_ */ |