summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 16:44:14 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 16:44:14 +0200
commit34576a58ef17e5d84cf05870ebfff1e4c5a452b7 (patch)
tree3f1471555764c95835f3a5de80e716c9fe965c37
parentNormed s_line (diff)
download42-minishell-34576a58ef17e5d84cf05870ebfff1e4c5a452b7.tar.gz
42-minishell-34576a58ef17e5d84cf05870ebfff1e4c5a452b7.tar.bz2
42-minishell-34576a58ef17e5d84cf05870ebfff1e4c5a452b7.tar.xz
42-minishell-34576a58ef17e5d84cf05870ebfff1e4c5a452b7.tar.zst
42-minishell-34576a58ef17e5d84cf05870ebfff1e4c5a452b7.zip
Normed s_line
-rw-r--r--src/s_line.c2
-rw-r--r--src/s_line.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/s_line.c b/src/s_line.c
index d7d48bb..9d44eb6 100644
--- a/src/s_line.c
+++ b/src/s_line.c
@@ -45,8 +45,8 @@ void s_line_add_back(t_line_block **aline, t_line_block *new)
void s_line_clear(t_line_block **line)
{
- t_line_block *tmp;
t_line_block *renext;
+ t_line_block *tmp;
if (line == NULL)
{
diff --git a/src/s_line.h b/src/s_line.h
index 16855d9..355ddc0 100644
--- a/src/s_line.h
+++ b/src/s_line.h
@@ -10,8 +10,8 @@
/* */
/* ************************************************************************** */
-#ifndef FT_S_LCOM_H
-# define FT_S_LCOM_H
+#ifndef FT_S_LINE_H
+# define FT_S_LINE_H
# include <stdint.h>