summaryrefslogtreecommitdiffstats
path: root/src/ft_m_funptr.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_m_funptr.c7
1 files changed, 3 insertions, 4 deletions
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 <libft.h>
#include <stdlib.h>
-#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();