diff options
Diffstat (limited to '')
-rw-r--r-- | src/m_funptr.c (renamed from src/ft_m_funptr.c) | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/ft_m_funptr.c b/src/m_funptr.c index 305dfc9..5a02b2e 100644 --- a/src/ft_m_funptr.c +++ b/src/m_funptr.c @@ -1,7 +1,7 @@ /* ************************************************************************** */ /* */ /* ::: :::::::: */ -/* ft_m_funptr.c :+: :+: :+: */ +/* m_funptr.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ @@ -13,25 +13,25 @@ #include <libft.h> #include <stdlib.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" +#include "d_enum.h" +#include "b_builtins.h" +#include "f_fail.h" +#include "m_funptr.h" +#include "s_struct.h" void - ft_init_buptr(t_msh *msh) + init_buptr(t_msh *msh) { - 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; - 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_type; + msh->bu_ptr[0] = b_echo; + msh->bu_ptr[1] = b_cd; + msh->bu_ptr[2] = b_pwd; + msh->bu_ptr[3] = b_export; + msh->bu_ptr[4] = b_unset; + msh->bu_ptr[5] = b_env; + msh->bu_ptr[6] = b_exit; + msh->bu_ptr[7] = b_type; if (!(msh->bu_ref = ft_split(FT_BUILTINS, '|'))) { - ft_fail_alloc(msh); + fail_alloc(msh); } } |