diff --git a/include/builtins.h b/include/builtins.h index 0fe77ae..31715ff 100644 --- a/include/builtins.h +++ b/include/builtins.h @@ -6,7 +6,7 @@ /* By: mmoussou next; } } + +void ft_unset(char **args, t_env *env) +{ + while (*args) + { + ft_unset_arg(*args, env); + args++; + } +} diff --git a/src/exec/exec_cmd.c b/src/exec/exec_cmd.c index c106666..625f5f4 100644 --- a/src/exec/exec_cmd.c +++ b/src/exec/exec_cmd.c @@ -6,7 +6,7 @@ /* By: mmoussou