summaryrefslogtreecommitdiffstats
path: root/src/s_line.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 16:43:25 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 16:43:25 +0200
commit1bdf65d8e63069cc917fb59db6b25ce93fe04c35 (patch)
tree2f32b48b6aa895681b419c9771cc860350775aa2 /src/s_line.c
parentNormed s_lalias (diff)
download42-minishell-1bdf65d8e63069cc917fb59db6b25ce93fe04c35.tar.gz
42-minishell-1bdf65d8e63069cc917fb59db6b25ce93fe04c35.tar.bz2
42-minishell-1bdf65d8e63069cc917fb59db6b25ce93fe04c35.tar.xz
42-minishell-1bdf65d8e63069cc917fb59db6b25ce93fe04c35.tar.zst
42-minishell-1bdf65d8e63069cc917fb59db6b25ce93fe04c35.zip
Normed s_line
Diffstat (limited to '')
-rw-r--r--src/s_line.c12
1 files changed, 4 insertions, 8 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;