summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 15:23:11 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 15:23:11 +0200
commit46a73e2b8cfe5370ca4ef03255d122aeccfe8bdc (patch)
treec4b44ceed105a563b41bab904fbbb97dc3d541a5 /src
parentfix (diff)
download42-minishell-46a73e2b8cfe5370ca4ef03255d122aeccfe8bdc.tar.gz
42-minishell-46a73e2b8cfe5370ca4ef03255d122aeccfe8bdc.tar.bz2
42-minishell-46a73e2b8cfe5370ca4ef03255d122aeccfe8bdc.tar.xz
42-minishell-46a73e2b8cfe5370ca4ef03255d122aeccfe8bdc.tar.zst
42-minishell-46a73e2b8cfe5370ca4ef03255d122aeccfe8bdc.zip
Normed p_line
Diffstat (limited to 'src')
-rw-r--r--src/p_line.c6
-rw-r--r--src/p_line.h6
2 files changed, 5 insertions, 7 deletions
diff --git a/src/p_line.c b/src/p_line.c
index c8381c8..5b51841 100644
--- a/src/p_line.c
+++ b/src/p_line.c
@@ -21,8 +21,7 @@
#include "s_struct.h"
#include "u_utils.h"
-static t_bool
- p_check_whitespaces_only(char line[])
+static t_bool p_check_whitespaces_only(char line[])
{
char *ptr;
@@ -38,8 +37,7 @@ static t_bool
return (TRUE);
}
-void
- p_line(char line[], t_msh *msh)
+void p_line(char line[], t_msh *msh)
{
if (p_check_whitespaces_only(line) == TRUE)
{
diff --git a/src/p_line.h b/src/p_line.h
index b3a35c5..1ec4b81 100644
--- a/src/p_line.h
+++ b/src/p_line.h
@@ -10,10 +10,10 @@
/* */
/* ************************************************************************** */
-#ifndef P_LINE_H
-#define P_LINE_H
+#ifndef FT_P_LINE_H
+# define FT_P_LINE_H
-#include "s_struct.h"
+# include "s_struct.h"
void p_line(char *line, t_msh *msh);