summaryrefslogtreecommitdiffstats
path: root/src/p_lcom_next.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/p_lcom_next.c (renamed from src/ft_p_lcom_next.c)16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ft_p_lcom_next.c b/src/p_lcom_next.c
index 8313b08..94ac9bf 100644
--- a/src/ft_p_lcom_next.c
+++ b/src/p_lcom_next.c
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* ft_p_lcom_next.c :+: :+: :+: */
+/* p_lcom_next.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
@@ -14,11 +14,11 @@
#include <stdlib.h>
#include <stdint.h>
-#include "ft_s_struct.h"
-#include "ft_u_vars.h"
+#include "s_struct.h"
+#include "u_vars.h"
static int8_t
- ft_subst_those_vars(int64_t i,
+ subst_those_vars(int64_t i,
char **p_words,
t_msh *msh)
{
@@ -34,7 +34,7 @@ static int8_t
varlen += 1;
if (!(s_varname = ft_substr(*p_words, (uint32_t)i, varlen - i)))
return (-1);
- varval = ft_subst_var_value(s_varname, msh);
+ varval = subst_var_value(s_varname, msh);
*p_words = ft_strsubst(*p_words, s_varname, varval);
ft_memdel((void*)&s_varname);
ft_memdel((void*)&varval);
@@ -42,7 +42,7 @@ static int8_t
}
char
- **ft_subst_vars(char *words[],
+ **subst_vars(char *words[],
t_msh *msh)
{
char **p_words;
@@ -56,7 +56,7 @@ char
{
if (*(*p_words) + i - 1 != '\\')
{
- if (ft_subst_those_vars(i, p_words, msh) != 0)
+ if (subst_those_vars(i, p_words, msh) != 0)
return (NULL);
}
}
@@ -67,7 +67,7 @@ char
char
- **ft_subst_args(const char word[],
+ **subst_args(const char word[],
int8_t redir)
{
char **words;