diff options
Diffstat (limited to 'Modules/getpath.c')
| -rw-r--r-- | Modules/getpath.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c index 2fd8f75..76bc320 100644 --- a/Modules/getpath.c +++ b/Modules/getpath.c @@ -5,7 +5,6 @@ #include "osdefs.h" #include <sys/types.h> -#include <sys/stat.h> #include <string.h> #if HAVE_UNISTD_H @@ -138,14 +137,6 @@ reduce(char *dir) } -#ifndef S_ISREG -#define S_ISREG(x) (((x) & S_IFMT) == S_IFREG) -#endif - -#ifndef S_ISDIR -#define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR) -#endif - static int isfile(char *filename) /* Is file, not directory */ { |
