diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-03 16:50:41 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-03 16:50:41 +0200 |
commit | 116678cbba855c07711e9e2151ea272b20f71764 (patch) | |
tree | a8293a380f20a7d43db1224c7fbd2937c06cbfc7 /src/s_lvars.c | |
parent | New TODO entry, normed s_redir (diff) | |
download | 42-minishell-116678cbba855c07711e9e2151ea272b20f71764.tar.gz 42-minishell-116678cbba855c07711e9e2151ea272b20f71764.tar.bz2 42-minishell-116678cbba855c07711e9e2151ea272b20f71764.tar.xz 42-minishell-116678cbba855c07711e9e2151ea272b20f71764.tar.zst 42-minishell-116678cbba855c07711e9e2151ea272b20f71764.zip |
Normed s_lvars
Diffstat (limited to 'src/s_lvars.c')
-rw-r--r-- | src/s_lvars.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/s_lvars.c b/src/s_lvars.c index e4b054e..4c91474 100644 --- a/src/s_lvars.c +++ b/src/s_lvars.c @@ -18,8 +18,7 @@ #include "s_struct.h" -void - lvars_rebind(t_lvars **lvars, const char name[], const char newval[]) +void lvars_rebind(t_lvars **lvars, const char name[], const char newval[]) { t_lvars *tmp; @@ -39,8 +38,7 @@ void } } -void - lvars_delone(t_lvars **lvars, const char name[]) +void lvars_delone(t_lvars **lvars, const char name[]) { t_lvars *tmp; t_lvars *prev; @@ -67,8 +65,7 @@ void ft_memdel((void*)&tmp); } -void - lvars_add_front(t_lvars **alvars, t_lvars *new) +void lvars_add_front(t_lvars **alvars, t_lvars *new) { if (alvars == NULL || new == NULL) { @@ -78,8 +75,7 @@ void *alvars = new; } -void - lvars_clear(t_lvars **lvars) +void lvars_clear(t_lvars **lvars) { t_lvars *tmp; t_lvars *renext; @@ -98,8 +94,7 @@ void *lvars = NULL; } -t_lvars - *lvars_new(const char name[], const char val[]) +t_lvars *lvars_new(const char name[], const char val[]) { t_lvars *link; |