summaryrefslogtreecommitdiffstats
path: root/src/m_prompt.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-04 15:52:47 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-04 15:52:47 +0200
commit5cb3373a2e5a5109a5d3b72ef45978b98f885706 (patch)
tree11a0a6f467da3ddf227d2eaf6824c4509242025e /src/m_prompt.c
parentok nice (diff)
parent$? fix (diff)
download42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.gz
42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.bz2
42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.xz
42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.zst
42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.zip
Merge branch 'master' into fix-pwd
Diffstat (limited to '')
-rw-r--r--src/m_prompt.c (renamed from src/ft_m_prompt.c)10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ft_m_prompt.c b/src/m_prompt.c
index 4c4cc41..34aae09 100644
--- a/src/ft_m_prompt.c
+++ b/src/m_prompt.c
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* ft_m_prompt.c :+: :+: :+: */
+/* m_prompt.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
@@ -13,18 +13,18 @@
#include <libft.h>
#include <unistd.h>
-#include "ft_m_prompt.h"
-#include "ft_s_struct.h"
+#include "m_prompt.h"
+#include "s_struct.h"
void
- ft_m_cont_prompt(void)
+ m_cont_prompt(void)
{
ft_dprintf(STDIN_FILENO, "> ");
/* TODO :ft_printf("%s", msh->ps_two); */
}
void
- ft_m_prompt(t_msh *msh)
+ m_prompt(t_msh *msh)
{
ft_dprintf(STDIN_FILENO, "%s", msh->ps_one);
}