diff options
Diffstat (limited to '')
-rw-r--r-- | src/s_lalias.c | 12 | ||||
-rw-r--r-- | src/s_lalias.h | 6 |
2 files changed, 7 insertions, 11 deletions
diff --git a/src/s_lalias.c b/src/s_lalias.c index a31909b..42d9fff 100644 --- a/src/s_lalias.c +++ b/src/s_lalias.c @@ -18,8 +18,7 @@ #include "s_struct.h" -void - s_lalias_rebind(t_lalias **lalias, const char name[], const char newval[]) +void s_lalias_rebind(t_lalias **lalias, const char name[], const char newval[]) { t_lalias *tmp; @@ -39,8 +38,7 @@ void } } -void - s_lalias_add_front(t_lalias **lalias, t_lalias *new) +void s_lalias_add_front(t_lalias **lalias, t_lalias *new) { if (lalias == NULL || new == NULL) { @@ -50,8 +48,7 @@ void *lalias = new; } -void - s_lalias_clear(t_lalias **lalias) +void s_lalias_clear(t_lalias **lalias) { t_lalias *tmp; t_lalias *renext; @@ -70,8 +67,7 @@ void *lalias = NULL; } -t_lalias - *s_lalias_new(const char name[], const char val[]) +t_lalias *s_lalias_new(const char name[], const char val[]) { t_lalias *link; static size_t id = 1; diff --git a/src/s_lalias.h b/src/s_lalias.h index 5218a88..8839a3a 100644 --- a/src/s_lalias.h +++ b/src/s_lalias.h @@ -10,10 +10,10 @@ /* */ /* ************************************************************************** */ -#ifndef S_LALIAS_H -#define S_LALIAS_H +#ifndef FT_S_LALIAS_H +# define FT_S_LALIAS_H -#include "s_struct.h" +# include "s_struct.h" void s_lalias_rebind(t_lalias **lalias, const char name[], |