summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/s_line.c12
-rw-r--r--src/s_line.h8
2 files changed, 8 insertions, 12 deletions
diff --git a/src/s_line.c b/src/s_line.c
index c6e2e0b..d7d48bb 100644
--- a/src/s_line.c
+++ b/src/s_line.c
@@ -19,8 +19,7 @@
#include "s_com.h"
#include "s_struct.h"
-t_line_block
- *s_line_last(t_line_block *line)
+t_line_block *s_line_last(t_line_block *line)
{
while (line->next != NULL)
{
@@ -29,8 +28,7 @@ t_line_block
return (line);
}
-void
- s_line_add_back(t_line_block **aline, t_line_block *new)
+void s_line_add_back(t_line_block **aline, t_line_block *new)
{
t_line_block *tmp;
@@ -45,8 +43,7 @@ void
}
}
-void
- s_line_clear(t_line_block **line)
+void s_line_clear(t_line_block **line)
{
t_line_block *tmp;
t_line_block *renext;
@@ -66,8 +63,7 @@ void
*line = NULL;
}
-t_line_block
- *s_line_new(const char word[], uint8_t nextif)
+t_line_block *s_line_new(const char word[], uint8_t nextif)
{
t_line_block *link;
diff --git a/src/s_line.h b/src/s_line.h
index b46643f..16855d9 100644
--- a/src/s_line.h
+++ b/src/s_line.h
@@ -10,12 +10,12 @@
/* */
/* ************************************************************************** */
-#ifndef S_LCOM_H
-#define S_LCOM_H
+#ifndef FT_S_LCOM_H
+# define FT_S_LCOM_H
-#include <stdint.h>
+# include <stdint.h>
-#include "s_struct.h"
+# include "s_struct.h"
void s_line_add_back(t_line_block **aline, t_line_block *new);
void s_line_clear(t_line_block **line);