diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-01-31 01:32:28 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-01-31 01:32:28 -0500 |
| commit | d74c7008bbdb17db6d33eb8bcf8081a14385bdfb (patch) | |
| tree | 053b2f844e828422de915167575e59c3e2205a83 /src/sys/statvfs | |
| parent | 5fd6f055390692694b0090fdf7bdd5ebbb1976de (diff) | |
remove more cruft, update dependencies
Diffstat (limited to 'src/sys/statvfs')
| -rw-r--r-- | src/sys/statvfs/ST_NOSUID.h | 6 | ||||
| -rw-r--r-- | src/sys/statvfs/ST_RDONLY.h | 6 | ||||
| -rw-r--r-- | src/sys/statvfs/fstatvfs.c | 11 | ||||
| -rw-r--r-- | src/sys/statvfs/statvfs.c | 11 | ||||
| -rw-r--r-- | src/sys/statvfs/struct_statvfs.h | 20 |
5 files changed, 0 insertions, 54 deletions
diff --git a/src/sys/statvfs/ST_NOSUID.h b/src/sys/statvfs/ST_NOSUID.h deleted file mode 100644 index adb95680..00000000 --- a/src/sys/statvfs/ST_NOSUID.h +++ /dev/null @@ -1,6 +0,0 @@ -#include <sys/statvfs.h> -#define ST_NOSUID (1<<1) -/* -XOPEN(400) -POSIX(200809) -*/ diff --git a/src/sys/statvfs/ST_RDONLY.h b/src/sys/statvfs/ST_RDONLY.h deleted file mode 100644 index a95bc7b2..00000000 --- a/src/sys/statvfs/ST_RDONLY.h +++ /dev/null @@ -1,6 +0,0 @@ -#include <sys/statvfs.h> -#define ST_RDONLY (1<<0) -/* -XOPEN(400) -POSIX(200809) -*/ diff --git a/src/sys/statvfs/fstatvfs.c b/src/sys/statvfs/fstatvfs.c deleted file mode 100644 index 75011633..00000000 --- a/src/sys/statvfs/fstatvfs.c +++ /dev/null @@ -1,11 +0,0 @@ -#include <sys/statvfs.h> - -int fstatvfs(int fildes, struct statvfs *buf) -{ - return -1; -} - -/* -XOPEN(400) -POSIX(200809) -*/ diff --git a/src/sys/statvfs/statvfs.c b/src/sys/statvfs/statvfs.c deleted file mode 100644 index 1a19962d..00000000 --- a/src/sys/statvfs/statvfs.c +++ /dev/null @@ -1,11 +0,0 @@ -#include <sys/statvfs.h> - -int statvfs(const char * restrict path, struct statvfs * restrict buf) -{ - return 0; -} - -/* -XOPEN(400) -POSIX(200809) -*/ diff --git a/src/sys/statvfs/struct_statvfs.h b/src/sys/statvfs/struct_statvfs.h deleted file mode 100644 index 781a1a56..00000000 --- a/src/sys/statvfs/struct_statvfs.h +++ /dev/null @@ -1,20 +0,0 @@ -#include <sys/statvfs.h> - -struct statvfs { - unsigned long f_bsize; - unsigned long f_frsize; - fsblkcnt_t f_blocks; - fsblkcnt_t f_bfree; - fsblkcnt_t f_bavail; - fsfilcnt_t f_files; - fsfilcnt_t f_ffree; - fsfilcnt_t f_favail; - unsigned long f_fsid; - unsigned long f_flag; - unsigned long f_namemax; -}; - -/* -XOPEN(400) -POSIX(200809) -*/ |
