diff options
-rw-r--r-- | src/s_destroy.c | 3 | ||||
-rw-r--r-- | src/s_destroy.h | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/s_destroy.c b/src/s_destroy.c index 12c2f7d..a2dd20b 100644 --- a/src/s_destroy.c +++ b/src/s_destroy.c @@ -16,8 +16,7 @@ #include "s_lalias.h" #include "s_lvars.h" -void - s_destroy(t_msh *msh) +void s_destroy(t_msh *msh) { ft_memdel((void*)&msh->prev_hist); ft_memdel((void*)&msh->cwd); diff --git a/src/s_destroy.h b/src/s_destroy.h index 66aea91..d03dda2 100644 --- a/src/s_destroy.h +++ b/src/s_destroy.h @@ -10,10 +10,10 @@ /* */ /* ************************************************************************** */ -#ifndef S_DESTROY_H -#define S_DESTROY_H +#ifndef FT_S_DESTROY_H +# define FT_S_DESTROY_H -#include "s_struct.h" +# include "s_struct.h" void s_destroy(t_msh *msh); |