summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-19 19:52:06 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-19 19:52:06 +0200
commite9a67a345faba8264493b1cd413783909d809c52 (patch)
tree1cf0a3b38d683233f09c57d76a6b0ec9dd2290d8
parentFormat change (diff)
download42-minishell-e9a67a345faba8264493b1cd413783909d809c52.tar.gz
42-minishell-e9a67a345faba8264493b1cd413783909d809c52.tar.bz2
42-minishell-e9a67a345faba8264493b1cd413783909d809c52.tar.xz
42-minishell-e9a67a345faba8264493b1cd413783909d809c52.tar.zst
42-minishell-e9a67a345faba8264493b1cd413783909d809c52.zip
Fuck alias
-rw-r--r--Makefile2
-rw-r--r--src/p_lblock.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index fa8899f..a982616 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-default: all
+default: msan
#==============================================================================#
#--------------------------------- SHELL --------------------------------------#
#==============================================================================#
diff --git a/src/p_lblock.c b/src/p_lblock.c
index 064b8ff..686a8eb 100644
--- a/src/p_lblock.c
+++ b/src/p_lblock.c
@@ -39,6 +39,10 @@ static uint8_t p_get_nextif(char *words[], size_t i)
return (nextif);
}
+/*
+** TOOD: ft_strchr('|'): danger /!\ rewrite this shit
+*/
+
static int8_t p_loop(char *words[], t_msh *msh)
{
t_line_block *link;
@@ -67,10 +71,6 @@ static int8_t p_loop(char *words[], t_msh *msh)
return (0);
}
-/*
-** TOOD: ft_strchr('|'): danger /!\ rewrite this shit
-*/
-
int8_t p_line_block(const char line[], t_msh *msh)
{
char **words;