aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/debug_tools.h2
-rw-r--r--include/minishell.h2
-rw-r--r--include/token.h1
3 files changed, 3 insertions, 2 deletions
diff --git a/include/debug_tools.h b/include/debug_tools.h
index 9a24875..a6f44f5 100644
--- a/include/debug_tools.h
+++ b/include/debug_tools.h
@@ -23,6 +23,8 @@
void dbg(char *str);
void panic(char *msg);
+
void print_token_list(t_token *token_list);
+
#endif
diff --git a/include/minishell.h b/include/minishell.h
index 354d5b9..6961815 100644
--- a/include/minishell.h
+++ b/include/minishell.h
@@ -30,7 +30,7 @@
int init(void);
int init_signal_handling(void);
-void repl(const char *prompt, t_env **env);
+void repl(const char *prompt, t_env **env, int *promptflag);
t_node *parse(t_token *tokens, t_env **env);
t_node *parse_cmd(t_token *tokens, t_env **env);
diff --git a/include/token.h b/include/token.h
index fb9633d..226c9ac 100644
--- a/include/token.h
+++ b/include/token.h
@@ -49,7 +49,6 @@ void free_token_and_connect(t_token *token);
void tokenizer(char *s, t_token **token_list,
char quote_check);
void print_token(t_token *token);
-
void free_token2(t_token *token);
void free_token_and_connect2(t_token *token);