summaryrefslogtreecommitdiffstats
path: root/src/ft_m_funptr.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-23 21:34:39 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-23 21:34:39 +0200
commit9ae0c7294c4fb7eaeec6feca76327939ee8cd8e1 (patch)
tree61dffc8459616c029984a803f2edf2573cc6ae6e /src/ft_m_funptr.c
parentOn the way (diff)
download42-minishell-9ae0c7294c4fb7eaeec6feca76327939ee8cd8e1.tar.gz
42-minishell-9ae0c7294c4fb7eaeec6feca76327939ee8cd8e1.tar.bz2
42-minishell-9ae0c7294c4fb7eaeec6feca76327939ee8cd8e1.tar.xz
42-minishell-9ae0c7294c4fb7eaeec6feca76327939ee8cd8e1.tar.zst
42-minishell-9ae0c7294c4fb7eaeec6feca76327939ee8cd8e1.zip
Good work so far
Diffstat (limited to 'src/ft_m_funptr.c')
-rw-r--r--src/ft_m_funptr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_m_funptr.c b/src/ft_m_funptr.c
index de6acd3..0a48d52 100644
--- a/src/ft_m_funptr.c
+++ b/src/ft_m_funptr.c
@@ -12,6 +12,7 @@
#include <libft.h>
#include <stdlib.h>
+
#include "ft_d_enum.h"
#include "ft_b_builtins.h"
#include "ft_f_fail.h"
@@ -28,8 +29,7 @@ void
msh->bu_ptr[4] = ft_b_unset;
msh->bu_ptr[5] = ft_b_env;
msh->bu_ptr[6] = ft_b_exit;
- /* TODO: type builtin */
- /* msh->bu_ptr[7] = ft_b_type; */
+ msh->bu_ptr[7] = ft_b_type;
if (!(msh->bu_ref = ft_split(FT_BUILTINS, '|')))
{
ft_fail_alloc();