diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 22:24:25 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 22:24:25 +0200 |
commit | fe24a254415b38952eeef8f0ca4e830549360850 (patch) | |
tree | f51808f7ed9ccc7840878de4d1c9d5408c6eaa45 /src/ft_m_funptr.c | |
parent | Wrong address (diff) | |
download | 42-minishell-fe24a254415b38952eeef8f0ca4e830549360850.tar.gz 42-minishell-fe24a254415b38952eeef8f0ca4e830549360850.tar.bz2 42-minishell-fe24a254415b38952eeef8f0ca4e830549360850.tar.xz 42-minishell-fe24a254415b38952eeef8f0ca4e830549360850.tar.zst 42-minishell-fe24a254415b38952eeef8f0ca4e830549360850.zip |
Pretty good start
Diffstat (limited to 'src/ft_m_funptr.c')
-rw-r--r-- | src/ft_m_funptr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_m_funptr.c b/src/ft_m_funptr.c index ac40491..a9e7882 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_b_echo.h" #include "ft_b_env.h" #include "ft_d_enum.h" #include "ft_m_funptr.h" @@ -20,7 +21,7 @@ void ft_init_buptr(t_msh *msh) { - /* msh->bu_ptr[0] = ft_b_echo; */ + msh->bu_ptr[0] = ft_b_echo; /* msh->bu_ptr[1] = ft_b_cd; */ /* msh->bu_ptr[2] = ft_b_pwd; */ /* msh->bu_ptr[3] = ft_b_export; */ |