summaryrefslogtreecommitdiffstats
path: root/src/s_lvars.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-27 18:55:07 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-27 18:55:07 +0200
commit487a66394061f2d14a2fa421302966b5442d643f (patch)
tree34237d4e9cb85f94bcefd46f399d2224dff3f6b3 /src/s_lvars.c
parentCorrect shell prompt (diff)
download42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.gz
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.bz2
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.xz
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.zst
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.zip
I couldn't see shit
Diffstat (limited to '')
-rw-r--r--src/s_lvars.c (renamed from src/ft_s_lvars.c)14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ft_s_lvars.c b/src/s_lvars.c
index fb3a0f4..f2a1151 100644
--- a/src/ft_s_lvars.c
+++ b/src/s_lvars.c
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* ft_s_lvars.c :+: :+: :+: */
+/* s_lvars.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
@@ -16,10 +16,10 @@
#include <errno.h>
#include <unistd.h>
-#include "ft_s_struct.h"
+#include "s_struct.h"
void
- ft_lvars_rebind(t_lvars **lvars,
+ lvars_rebind(t_lvars **lvars,
const char name[],
const char newval[])
{
@@ -43,7 +43,7 @@ void
}
void
- ft_lvars_delone(t_lvars **lvars,
+ lvars_delone(t_lvars **lvars,
const char name[])
{
t_lvars *tmp;
@@ -72,7 +72,7 @@ void
}
void
- ft_lvars_add_front(t_lvars **alvars,
+ lvars_add_front(t_lvars **alvars,
t_lvars *new)
{
if (!alvars || !new)
@@ -84,7 +84,7 @@ void
}
void
- ft_lvars_clear(t_lvars **lvars)
+ lvars_clear(t_lvars **lvars)
{
t_lvars *tmp;
t_lvars *renext;
@@ -104,7 +104,7 @@ void
}
t_lvars
- *ft_lvars_new(const char name[],
+ *lvars_new(const char name[],
const char val[])
{
t_lvars *link;