summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/f_alloc.c6
-rw-r--r--src/f_alloc.h6
2 files changed, 5 insertions, 7 deletions
diff --git a/src/f_alloc.c b/src/f_alloc.c
index 721cf34..dc3f589 100644
--- a/src/f_alloc.c
+++ b/src/f_alloc.c
@@ -20,8 +20,7 @@
#include "s_line.h"
#include "s_struct.h"
-void
- f_alloc_and_destroy_msh(t_msh *msh)
+void f_alloc_and_destroy_msh(t_msh *msh)
{
char tmp[255];
@@ -32,8 +31,7 @@ void
exit(M_RET_ALLOC);
}
-void
- f_alloc_and_clear_line(t_msh *msh)
+void f_alloc_and_clear_line(t_msh *msh)
{
s_line_clear(&msh->curr);
ft_dprintf(STDERR_FILENO, "%s: %s\n", msh->argv[0], strerror(errno));
diff --git a/src/f_alloc.h b/src/f_alloc.h
index 73f7a91..79d93c7 100644
--- a/src/f_alloc.h
+++ b/src/f_alloc.h
@@ -10,10 +10,10 @@
/* */
/* ************************************************************************** */
-#ifndef F_ALLOC_H
-#define F_ALLOC_H
+#ifndef FT_F_ALLOC_H
+# define FT_F_ALLOC_H
-#include "s_struct.h"
+# include "s_struct.h"
void f_alloc_and_destroy_msh(t_msh *msh);
void f_alloc_and_clear_line(t_msh *msh);