From 92c184c047323fb557d98c4d7e7c884e474c762e Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 21 Apr 2020 18:34:29 +0200 Subject: Builtin exit is bav --- src/ft_m_funptr.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/ft_m_funptr.c') diff --git a/src/ft_m_funptr.c b/src/ft_m_funptr.c index 813e5a3..bf2824e 100644 --- a/src/ft_m_funptr.c +++ b/src/ft_m_funptr.c @@ -12,9 +12,8 @@ #include #include -#include "ft_b_echo.h" -#include "ft_b_env.h" #include "ft_d_enum.h" +#include "ft_b_builtins.h" #include "ft_f_fail.h" #include "ft_m_funptr.h" #include "ft_s_struct.h" @@ -28,8 +27,8 @@ void /* msh->bu_ptr[3] = ft_b_export; */ /* msh->bu_ptr[4] = ft_b_unset; */ msh->bu_ptr[5] = ft_b_env; - /* msh->bu_ptr[6] = ft_b_exit; */ - /* msh->bu_ptr[7] = ft_b_cat; */ + msh->bu_ptr[6] = ft_b_exit; + /* TODO: them builtins */ if (!(msh->bu_ref = ft_split(FT_BUILTINS, '|'))) { ft_fail_alloc(); -- cgit v1.2.3