summaryrefslogtreecommitdiffstats
path: root/src/p_line.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/p_line.c (renamed from src/ft_p_line.c)22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/ft_p_line.c b/src/p_line.c
index 166b880..4a58537 100644
--- a/src/ft_p_line.c
+++ b/src/p_line.c
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* ft_p_line.c :+: :+: :+: */
+/* p_line.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
@@ -13,15 +13,15 @@
#include <libft.h>
#include <stdlib.h>
-#include "ft_d_enum.h"
-#include "ft_f_fail.h"
-#include "ft_p_lcom.h"
-#include "ft_p_line.h"
-#include "ft_s_destroy.h"
-#include "ft_s_struct.h"
+#include "d_enum.h"
+#include "f_fail.h"
+#include "p_lcom.h"
+#include "p_line.h"
+#include "s_destroy.h"
+#include "s_struct.h"
void
- ft_p_line(char line[],
+ p_line(char line[],
t_msh *msh)
{
char *ptr;
@@ -42,9 +42,9 @@ void
{
count -= 1;
}
- if (ft_p_lcom(line, count, msh) < 0)
+ if (p_lcom(line, count, msh) < 0)
{
- ft_s_destroy(msh);
- ft_fail_alloc(msh);
+ s_destroy(msh);
+ fail_alloc(msh);
}
}