diff options
Diffstat (limited to '')
-rw-r--r-- | src/e_builtins.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/e_builtins.c b/src/e_builtins.c index 7b074af..c00114d 100644 --- a/src/e_builtins.c +++ b/src/e_builtins.c @@ -20,11 +20,11 @@ #include "b_export_mute.h" #include "m_redirs.h" #include "s_destroy.h" -#include "s_lcom.h" +#include "s_line.h" #include "s_struct.h" static void - e_export_env_fork(const t_lcom *ptr, + e_export_env_fork(const t_com *ptr, t_msh *msh) { char **re_ptr; @@ -38,7 +38,7 @@ static void } static void - e_builtin_child(const t_lcom *ptr, + e_builtin_child(const t_com *ptr, uint8_t bu_id, t_msh *msh) { @@ -48,14 +48,14 @@ static void e_export_env_fork(ptr, msh); dup_redirs(ptr, msh); ret = msh->bu_ptr[bu_id](ptr->argv + 1, msh); - lcom_clear(&msh->curr); + s_line_clear(&msh->curr); s_destroy(msh); exit(ret); } static void e_builtin_parent(pid_t pid, - const t_lcom *ptr, + const t_com *ptr, uint8_t bu_id, t_msh *msh) { @@ -73,14 +73,14 @@ static void b_export_mute(ptr->argv + 1, msh); else if (bu_id == FT_ID_EXIT && ret == 0) { - lcom_clear(&msh->curr); + s_line_clear(&msh->curr); s_destroy(msh); exit(ret); } } void - e_builtin(const t_lcom *ptr, + e_builtin(const t_com *ptr, uint8_t bu_id, t_msh *msh) { |