summaryrefslogtreecommitdiffstats
path: root/src/m_comm.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-27 18:55:07 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-27 18:55:07 +0200
commit487a66394061f2d14a2fa421302966b5442d643f (patch)
tree34237d4e9cb85f94bcefd46f399d2224dff3f6b3 /src/m_comm.c
parentCorrect shell prompt (diff)
download42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.gz
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.bz2
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.xz
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.zst
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.zip
I couldn't see shit
Diffstat (limited to '')
-rw-r--r--src/m_comm.c (renamed from src/ft_m_comm.c)20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ft_m_comm.c b/src/m_comm.c
index 5fca253..66e0ac2 100644
--- a/src/ft_m_comm.c
+++ b/src/m_comm.c
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* ft_m_comm.c :+: :+: :+: */
+/* m_comm.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
@@ -13,21 +13,21 @@
#include <libft.h>
#include <stdint.h>
-#include "ft_d_enum.h"
-#include "ft_e_lcom.h"
-#include "ft_m_prompt.h"
-#include "ft_p_line.h"
-#include "ft_s_lcom.h"
+#include "d_enum.h"
+#include "e_lcom.h"
+#include "m_prompt.h"
+#include "p_line.h"
+#include "s_lcom.h"
uint8_t
- ft_m_comm(const char line[],
+ m_comm(const char line[],
t_msh *msh)
{
if (line[0] != '\0')
{
- ft_p_line((char*)line, msh);
- ft_e_lcom(msh);
- ft_lcom_clear(&msh->curr);
+ p_line((char*)line, msh);
+ e_lcom(msh);
+ lcom_clear(&msh->curr);
}
else
{