summaryrefslogtreecommitdiffstats
path: root/src/b_sqb_str.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-27 19:59:20 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-27 19:59:20 +0100
commitc5aae008dee36276154882d8fd56c3bdeb473474 (patch)
treea40740914847ebf39a5f8cb3acf6a48c8b9d61ef /src/b_sqb_str.c
parentTODO update (diff)
download42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.gz
42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.bz2
42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.xz
42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.zst
42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.zip
Now norme
Diffstat (limited to 'src/b_sqb_str.c')
-rw-r--r--src/b_sqb_str.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/b_sqb_str.c b/src/b_sqb_str.c
index fa4381a..51fdd8d 100644
--- a/src/b_sqb_str.c
+++ b/src/b_sqb_str.c
@@ -11,11 +11,10 @@
/* ************************************************************************** */
#include <libft.h>
-#include <stdint.h>
#include "d_define.h"
-static t_bool b_sqb_str_comp(uint8_t id, const char s1[], const char s2[])
+static t_bool b_sqb_str_comp(unsigned char id, const char s1[], const char s2[])
{
if (id == B_ID_SQB_EQUA &&
ft_strncmp(s1, s2, ft_strlen(s1) + 1) == 0)
@@ -26,7 +25,7 @@ static t_bool b_sqb_str_comp(uint8_t id, const char s1[], const char s2[])
return (FALSE);
}
-uint8_t b_sqb_str(uint8_t id, char *argv[])
+unsigned char b_sqb_str(unsigned char id, char *argv[])
{
if (id == B_ID_SQB_N)
{