summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 16:55:06 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 16:55:06 +0200
commitddf9ff30367ba6de002e9493fad46c912707e038 (patch)
treeb42e06fd45ffbf63d3a2ce8348a8ec49b1a11ad4 /src
parentNormed u_alias (diff)
download42-minishell-ddf9ff30367ba6de002e9493fad46c912707e038.tar.gz
42-minishell-ddf9ff30367ba6de002e9493fad46c912707e038.tar.bz2
42-minishell-ddf9ff30367ba6de002e9493fad46c912707e038.tar.xz
42-minishell-ddf9ff30367ba6de002e9493fad46c912707e038.tar.zst
42-minishell-ddf9ff30367ba6de002e9493fad46c912707e038.zip
Normed u_parse
Diffstat (limited to '')
-rw-r--r--src/u_parse.c6
-rw-r--r--src/u_parse.h6
2 files changed, 5 insertions, 7 deletions
diff --git a/src/u_parse.c b/src/u_parse.c
index b49e6ba..f0d8c6e 100644
--- a/src/u_parse.c
+++ b/src/u_parse.c
@@ -15,8 +15,7 @@
#include "u_utils.h"
#include "d_define.h"
-t_quote_mode
- u_meet_dquote(const char *head, char *ptr, t_quote_mode mode)
+t_quote_mode u_meet_dquote(const char *head, char *ptr, t_quote_mode mode)
{
if (mode == Q_NONE)
{
@@ -36,8 +35,7 @@ t_quote_mode
return (mode);
}
-t_quote_mode
- u_meet_squote(const char *head, char *ptr, t_quote_mode mode)
+t_quote_mode u_meet_squote(const char *head, char *ptr, t_quote_mode mode)
{
if (mode == Q_NONE)
{
diff --git a/src/u_parse.h b/src/u_parse.h
index 8542f80..76e9152 100644
--- a/src/u_parse.h
+++ b/src/u_parse.h
@@ -10,10 +10,10 @@
/* */
/* ************************************************************************** */
-#ifndef U_PARSE_H
-#define U_PARSE_H
+#ifndef FT_U_PARSE_H
+# define FT_U_PARSE_H
-#include "d_define.h"
+# include "d_define.h"
t_quote_mode u_meet_dquote(const char *head, char *ptr, t_quote_mode mode);
t_quote_mode u_meet_squote(const char *head, char *ptr, t_quote_mode mode);