From 24a60ffba1893a3506a6ed15fd4b26479d966cf3 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sun, 16 Aug 2020 16:31:15 -0400 Subject: rename non-compiled files to *.h --- src/sys/statvfs/ST_NOSUID.c | 6 ------ src/sys/statvfs/ST_NOSUID.h | 6 ++++++ src/sys/statvfs/ST_RDONLY.c | 6 ------ src/sys/statvfs/ST_RDONLY.h | 6 ++++++ src/sys/statvfs/struct_statvfs.c | 20 -------------------- src/sys/statvfs/struct_statvfs.h | 20 ++++++++++++++++++++ 6 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 src/sys/statvfs/ST_NOSUID.c create mode 100644 src/sys/statvfs/ST_NOSUID.h delete mode 100644 src/sys/statvfs/ST_RDONLY.c create mode 100644 src/sys/statvfs/ST_RDONLY.h delete mode 100644 src/sys/statvfs/struct_statvfs.c create mode 100644 src/sys/statvfs/struct_statvfs.h (limited to 'src/sys/statvfs') diff --git a/src/sys/statvfs/ST_NOSUID.c b/src/sys/statvfs/ST_NOSUID.c deleted file mode 100644 index adb95680..00000000 --- a/src/sys/statvfs/ST_NOSUID.c +++ /dev/null @@ -1,6 +0,0 @@ -#include -#define ST_NOSUID (1<<1) -/* -XOPEN(400) -POSIX(200809) -*/ diff --git a/src/sys/statvfs/ST_NOSUID.h b/src/sys/statvfs/ST_NOSUID.h new file mode 100644 index 00000000..adb95680 --- /dev/null +++ b/src/sys/statvfs/ST_NOSUID.h @@ -0,0 +1,6 @@ +#include +#define ST_NOSUID (1<<1) +/* +XOPEN(400) +POSIX(200809) +*/ diff --git a/src/sys/statvfs/ST_RDONLY.c b/src/sys/statvfs/ST_RDONLY.c deleted file mode 100644 index a95bc7b2..00000000 --- a/src/sys/statvfs/ST_RDONLY.c +++ /dev/null @@ -1,6 +0,0 @@ -#include -#define ST_RDONLY (1<<0) -/* -XOPEN(400) -POSIX(200809) -*/ diff --git a/src/sys/statvfs/ST_RDONLY.h b/src/sys/statvfs/ST_RDONLY.h new file mode 100644 index 00000000..a95bc7b2 --- /dev/null +++ b/src/sys/statvfs/ST_RDONLY.h @@ -0,0 +1,6 @@ +#include +#define ST_RDONLY (1<<0) +/* +XOPEN(400) +POSIX(200809) +*/ diff --git a/src/sys/statvfs/struct_statvfs.c b/src/sys/statvfs/struct_statvfs.c deleted file mode 100644 index 781a1a56..00000000 --- a/src/sys/statvfs/struct_statvfs.c +++ /dev/null @@ -1,20 +0,0 @@ -#include - -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) -*/ diff --git a/src/sys/statvfs/struct_statvfs.h b/src/sys/statvfs/struct_statvfs.h new file mode 100644 index 00000000..781a1a56 --- /dev/null +++ b/src/sys/statvfs/struct_statvfs.h @@ -0,0 +1,20 @@ +#include + +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) +*/ -- cgit v1.2.1