diff options
Diffstat (limited to '')
-rw-r--r-- | src/p_lblock.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/p_lblock.c b/src/p_lblock.c index e147a9f..f3b5b44 100644 --- a/src/p_lblock.c +++ b/src/p_lblock.c @@ -12,7 +12,6 @@ #include <libft.h> #include <stdlib.h> -#include <stdint.h> #include <fcntl.h> #include <unistd.h> #include <errno.h> @@ -27,9 +26,9 @@ #include "u_parse.h" #include "u_utils.h" -static uint8_t p_get_nextif(char *words[], size_t i) +static unsigned char p_get_nextif(char *words[], size_t i) { - uint8_t nextif; + unsigned char nextif; nextif = 0; if (words[i][ft_strlen(words[i]) - 1] == '0') @@ -66,11 +65,11 @@ t_bool p_find_good_pipe(const char word[]) return (FALSE); } -static int8_t p_loop(char *words[], t_msh *msh) +static char p_loop(char *words[], t_msh *msh) { t_line_block *link; size_t i; - uint8_t nextif; + unsigned char nextif; i = 0; while (words[i] != NULL) @@ -84,7 +83,7 @@ static int8_t p_loop(char *words[], t_msh *msh) return (0); } -int8_t p_line_block(const char line[], t_msh *msh) +char p_line_block(const char line[], t_msh *msh) { char **words; |