| Index: fusl/include/sys/statvfs.h
|
| diff --git a/fusl/include/sys/statvfs.h b/fusl/include/sys/statvfs.h
|
| index e0839ecac3266a40f3fcd33bc059fa77038a6e1e..b1ffd8a4e28ade997a6574e2b016b64038236313 100644
|
| --- a/fusl/include/sys/statvfs.h
|
| +++ b/fusl/include/sys/statvfs.h
|
| @@ -1,5 +1,5 @@
|
| -#ifndef _SYS_STATVFS_H
|
| -#define _SYS_STATVFS_H
|
| +#ifndef _SYS_STATVFS_H
|
| +#define _SYS_STATVFS_H
|
|
|
| #ifdef __cplusplus
|
| extern "C" {
|
| @@ -14,34 +14,34 @@ extern "C" {
|
| #include <endian.h>
|
|
|
| struct statvfs {
|
| - unsigned long f_bsize, f_frsize;
|
| - fsblkcnt_t f_blocks, f_bfree, f_bavail;
|
| - fsfilcnt_t f_files, f_ffree, f_favail;
|
| + unsigned long f_bsize, f_frsize;
|
| + fsblkcnt_t f_blocks, f_bfree, f_bavail;
|
| + fsfilcnt_t f_files, f_ffree, f_favail;
|
| #if __BYTE_ORDER == __LITTLE_ENDIAN
|
| - unsigned long f_fsid;
|
| - unsigned :8*(2*sizeof(int)-sizeof(long));
|
| + unsigned long f_fsid;
|
| + unsigned : 8 * (2 * sizeof(int) - sizeof(long));
|
| #else
|
| - unsigned :8*(2*sizeof(int)-sizeof(long));
|
| - unsigned long f_fsid;
|
| + unsigned : 8 * (2 * sizeof(int) - sizeof(long));
|
| + unsigned long f_fsid;
|
| #endif
|
| - unsigned long f_flag, f_namemax;
|
| - int __reserved[6];
|
| + unsigned long f_flag, f_namemax;
|
| + int __reserved[6];
|
| };
|
|
|
| -int statvfs (const char *__restrict, struct statvfs *__restrict);
|
| -int fstatvfs (int, struct statvfs *);
|
| +int statvfs(const char* __restrict, struct statvfs* __restrict);
|
| +int fstatvfs(int, struct statvfs*);
|
|
|
| #define ST_RDONLY 1
|
| #define ST_NOSUID 2
|
| -#define ST_NODEV 4
|
| +#define ST_NODEV 4
|
| #define ST_NOEXEC 8
|
| #define ST_SYNCHRONOUS 16
|
| -#define ST_MANDLOCK 64
|
| -#define ST_WRITE 128
|
| -#define ST_APPEND 256
|
| -#define ST_IMMUTABLE 512
|
| -#define ST_NOATIME 1024
|
| -#define ST_NODIRATIME 2048
|
| +#define ST_MANDLOCK 64
|
| +#define ST_WRITE 128
|
| +#define ST_APPEND 256
|
| +#define ST_IMMUTABLE 512
|
| +#define ST_NOATIME 1024
|
| +#define ST_NODIRATIME 2048
|
|
|
| #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
|
| #define statvfs64 statvfs
|
|
|