diff options
Diffstat (limited to 'src/b_sqb_file.c')
-rw-r--r-- | src/b_sqb_file.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/b_sqb_file.c b/src/b_sqb_file.c index a853b81..836aa01 100644 --- a/src/b_sqb_file.c +++ b/src/b_sqb_file.c @@ -13,13 +13,12 @@ #include <sys/types.h> #include <sys/stat.h> #include <libft.h> -#include <stdint.h> #include <fcntl.h> #include <unistd.h> #include "d_define.h" -static t_bool b_file_tests(uint8_t id, const char path[], struct stat sb) +static t_bool b_file_tests(unsigned char id, const char path[], struct stat sb) { if (id == B_ID_SQB_B && S_ISBLK(sb.st_mode) == 1) return (TRUE); @@ -47,7 +46,7 @@ static t_bool b_file_tests(uint8_t id, const char path[], struct stat sb) return (FALSE); } -uint8_t b_sqb_file_tests(uint8_t id, char *argv[]) +unsigned char b_sqb_file_tests(unsigned char id, char *argv[]) { struct stat sb; @@ -64,7 +63,7 @@ uint8_t b_sqb_file_tests(uint8_t id, char *argv[]) return (1); } -static t_bool b_sqb_file_comp_tests(uint8_t id, +static t_bool b_sqb_file_comp_tests(unsigned char id, struct stat sb1, struct stat sb2) { @@ -77,7 +76,7 @@ static t_bool b_sqb_file_comp_tests(uint8_t id, return (FALSE); } -uint8_t b_sqb_double_file_tests(uint8_t id, char *argv[]) +unsigned char b_sqb_double_file_tests(unsigned char id, char *argv[]) { struct stat sb[2]; |