diff options
-rw-r--r-- | src/s_lvars.c | 15 | ||||
-rw-r--r-- | src/s_lvars.h | 6 |
2 files changed, 8 insertions, 13 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; diff --git a/src/s_lvars.h b/src/s_lvars.h index 163f6cc..21f9fce 100644 --- a/src/s_lvars.h +++ b/src/s_lvars.h @@ -10,10 +10,10 @@ /* */ /* ************************************************************************** */ -#ifndef S_LVARS_H -#define S_LVARS_H +#ifndef FT_S_LVARS_H +# define FT_S_LVARS_H -#include "s_struct.h" +# include "s_struct.h" void lvars_rebind(t_lvars **lvars, const char name[], const char newval[]); void lvars_delone(t_lvars **lvars, const char name[]); |