summaryrefslogtreecommitdiffstats
path: root/src/p_lblock.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-08 18:57:19 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-08 18:57:19 +0200
commitbf6043888ebdafc3da4fc60af8f0f4888e8c53d0 (patch)
tree5229dd0cd83461741326205ac2853f9eed51c200 /src/p_lblock.c
parentNames (diff)
download42-minishell-bf6043888ebdafc3da4fc60af8f0f4888e8c53d0.tar.gz
42-minishell-bf6043888ebdafc3da4fc60af8f0f4888e8c53d0.tar.bz2
42-minishell-bf6043888ebdafc3da4fc60af8f0f4888e8c53d0.tar.xz
42-minishell-bf6043888ebdafc3da4fc60af8f0f4888e8c53d0.tar.zst
42-minishell-bf6043888ebdafc3da4fc60af8f0f4888e8c53d0.zip
Update
Diffstat (limited to '')
-rw-r--r--src/p_lblock.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/p_lblock.c b/src/p_lblock.c
index a8c42ce..5be1c9d 100644
--- a/src/p_lblock.c
+++ b/src/p_lblock.c
@@ -25,8 +25,7 @@
#include "s_struct.h"
static void
- rdr_err_check(char *ptr,
- t_com **com)
+ rdr_err_check(char *ptr, t_com **com)
{
if ((*com)->redir == -1 && ft_ischarset("><", *(ptr + 1)) == TRUE)
{
@@ -43,8 +42,7 @@ static void
}
static int8_t
- get_rdrpath(char *ptr,
- t_com **com)
+ get_rdrpath(char *ptr, t_com **com)
{
char *p_rdrpath;
@@ -86,8 +84,7 @@ static void
}
int8_t
- p_get_redir(const char word[],
- t_com **com)
+ p_get_redir(const char word[], t_com **com)
{
/* TODO: norme */
char *ptr;
@@ -124,8 +121,7 @@ int8_t
}
int8_t
- p_lcom(const char line[],
- t_msh *msh)
+ p_line_block(const char line[], t_msh *msh)
{
/* TODO: norme */
uint64_t i;