summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-11 19:55:23 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-11 19:55:23 +0200
commit2a5b43429d411bf5b2a71e32b6a8e11a896786b6 (patch)
tree0b19f87aef42191ec554658a8ad592e8f92e6566
parentThis shit is killing me (diff)
download42-minishell-2a5b43429d411bf5b2a71e32b6a8e11a896786b6.tar.gz
42-minishell-2a5b43429d411bf5b2a71e32b6a8e11a896786b6.tar.bz2
42-minishell-2a5b43429d411bf5b2a71e32b6a8e11a896786b6.tar.xz
42-minishell-2a5b43429d411bf5b2a71e32b6a8e11a896786b6.tar.zst
42-minishell-2a5b43429d411bf5b2a71e32b6a8e11a896786b6.zip
qwe
-rw-r--r--src/p_lblock_next.c1
-rw-r--r--src/p_lblock_next.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/p_lblock_next.c b/src/p_lblock_next.c
index adfa043..6f5f00d 100644
--- a/src/p_lblock_next.c
+++ b/src/p_lblock_next.c
@@ -234,7 +234,6 @@ void
else if (*ptr == C_SQUOTE)
mode = u_meet_squote(word, ptr, mode);
else if (mode == Q_NONE && *ptr == C_EQUALS)
- u_meet_equals();
ptr++;
}
/* char *ptr; */
diff --git a/src/p_lblock_next.h b/src/p_lblock_next.h
index 916055e..030be27 100644
--- a/src/p_lblock_next.h
+++ b/src/p_lblock_next.h
@@ -21,6 +21,6 @@ void p_subst_vars(char word[], t_msh *msh);
void p_subst_alias(char word[], t_msh *msh);
char **p_subst_args(const char word[], int8_t redir);
char **p_subst_home(char *word[], t_msh *msh);
-void p_check_args_equals(char word[], t_msh *msh);
+char **p_check_args_equals(char *words[], t_msh *msh);
#endif