summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/p_lblock_next.c2
-rw-r--r--src/p_lblock_next.h4
-rw-r--r--src/s_com.c5
3 files changed, 7 insertions, 4 deletions
diff --git a/src/p_lblock_next.c b/src/p_lblock_next.c
index 485d4ee..bfdca3d 100644
--- a/src/p_lblock_next.c
+++ b/src/p_lblock_next.c
@@ -75,7 +75,7 @@ static void p_add_to_env_fork(int64_t i, char *words[], t_msh *msh)
int64_t j;
j = 0;
- while(j < i)
+ while (j < i)
{
ft_strlcpy(msh->env_fork_tmp[j], words[j], ft_strlen(words[j]) + 1);
j++;
diff --git a/src/p_lblock_next.h b/src/p_lblock_next.h
index 5ee27ed..7042060 100644
--- a/src/p_lblock_next.h
+++ b/src/p_lblock_next.h
@@ -10,8 +10,8 @@
/* */
/* ************************************************************************** */
-#ifndef FT_P_LCOM_NEXT_H
-# define FT_P_LCOM_NEXT_H
+#ifndef FT_P_LBLOCK_NEXT_H
+# define FT_P_LBLOCK_NEXT_H
# include <libft.h>
# include <stdint.h>
diff --git a/src/s_com.c b/src/s_com.c
index 9dc8309..d304675 100644
--- a/src/s_com.c
+++ b/src/s_com.c
@@ -26,10 +26,13 @@
#include "s_lredir.h"
#include "s_struct.h"
+/*
+** TODO: norme
+*/
+
static int8_t
s_fill_com(char *words[], t_com **com)
{
- /* TODO: norme */
uint64_t i;
uint64_t j;