From c054c0e7fa09235b6ab79e1bebb2ebdc0bc0d00e Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sun, 16 Aug 2020 18:37:10 -0400 Subject: rename non-compiled files to *.h --- src/dirent/struct_dirent.c | 14 -------------- src/dirent/struct_dirent.h | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 src/dirent/struct_dirent.c create mode 100644 src/dirent/struct_dirent.h (limited to 'src/dirent') diff --git a/src/dirent/struct_dirent.c b/src/dirent/struct_dirent.c deleted file mode 100644 index a6d4bb6c..00000000 --- a/src/dirent/struct_dirent.c +++ /dev/null @@ -1,14 +0,0 @@ -#include - -struct dirent { - #if (defined _XOPEN_SOURCE) - ino_t d_ino; - #else - unsigned long long int __padding; - #endif - char d_name[]; -}; - -/* -POSIX(1) -*/ diff --git a/src/dirent/struct_dirent.h b/src/dirent/struct_dirent.h new file mode 100644 index 00000000..a6d4bb6c --- /dev/null +++ b/src/dirent/struct_dirent.h @@ -0,0 +1,14 @@ +#include + +struct dirent { + #if (defined _XOPEN_SOURCE) + ino_t d_ino; + #else + unsigned long long int __padding; + #endif + char d_name[]; +}; + +/* +POSIX(1) +*/ -- cgit v1.2.1