diff options
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common.h b/src/common.h index a77d0a2..b206f7b 100644 --- a/src/common.h +++ b/src/common.h @@ -4,7 +4,6 @@ #include <stdlib.h> #include <stddef.h> #include <stdint.h> -#include <stdbool.h> #include <sys/stat.h> #define ARRAY_LEN(arr) sizeof(arr) / sizeof(arr[0]) @@ -63,8 +62,8 @@ struct Command { void print_help(const struct Command*, size_t); struct stat getStat(const char* path); -bool isFile(const char*); -bool isDir(const char*); +int isFile(const char*); +int isDir(const char*); int makeDir(const char* path); int removeDir(const char *path); |