From 2eb59ee61e49b60472f82c000dd4f3536bd1987c Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 1 Apr 2020 15:55:57 +0200 Subject: Added builtin support in command eval, Refactoring eval/builtin function, Added doc --- src/builtin/env.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/builtin/env.c') diff --git a/src/builtin/env.c b/src/builtin/env.c index 3869ead..352e2c3 100644 --- a/src/builtin/env.c +++ b/src/builtin/env.c @@ -13,8 +13,9 @@ void st_print_env_variable(t_ftht_entry *entry) ft_putchar('\n'); } -int builtin_env(t_env env) +int builtin_env(char **argv, t_env env) { + (void)argv; ft_htiter(env, st_print_env_variable); return (0); } -- cgit