diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-03 16:04:50 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-03 16:04:50 +0200 |
commit | c33e11a8223f5d6fe05767a74ef478351ce583e0 (patch) | |
tree | 976b4687f8b5dfd5cb3b1e4d0a59ff29010262a4 | |
parent | Normed s_com (diff) | |
download | 42-minishell-c33e11a8223f5d6fe05767a74ef478351ce583e0.tar.gz 42-minishell-c33e11a8223f5d6fe05767a74ef478351ce583e0.tar.bz2 42-minishell-c33e11a8223f5d6fe05767a74ef478351ce583e0.tar.xz 42-minishell-c33e11a8223f5d6fe05767a74ef478351ce583e0.tar.zst 42-minishell-c33e11a8223f5d6fe05767a74ef478351ce583e0.zip |
Normed s_destroy
-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); |