From: Christopher Uhlig Date: Fri, 25 Oct 2024 13:51:12 +0000 (+0200) Subject: adjusted header for env X-Git-Url: https://git.dkaiser.de/?a=commitdiff_plain;h=cecb3e3560c395f2355a068624a7f6ca3d6b5655;p=42%2Fminishell.git adjusted header for env --- diff --git a/include/minishell.h b/include/minishell.h index 2319e8b..7b6226e 100644 --- a/include/minishell.h +++ b/include/minishell.h @@ -3,10 +3,10 @@ /* ::: :::::::: */ /* minishell.h :+: :+: :+: */ /* +:+ +:+ +:+ */ -/* By: dkaiser +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/06/22 17:14:49 by dkaiser #+# #+# */ -/* Updated: 2024/10/17 15:25:58 by dkaiser ### ########.fr */ +/* Updated: 2024/10/22 16:52:26 by chuhlig ### ########.fr */ /* */ /* ************************************************************************** */ @@ -29,7 +29,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); t_list *parse(t_token *tokens); t_node *parse_cmd(t_token *tokens); @@ -37,5 +37,5 @@ t_redirection *collect_redirs(t_token **tokens); void print_ast(t_node *ast); -int eval(t_node *node, t_env *env); +int eval(t_node *node, t_env **env); #endif