diff options
-rw-r--r-- | src/f_chdir.c | 5 | ||||
-rw-r--r-- | src/f_chdir.h | 6 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/f_chdir.c b/src/f_chdir.c index ce69ca5..3e1fcc1 100644 --- a/src/f_chdir.c +++ b/src/f_chdir.c @@ -17,10 +17,7 @@ #include "s_struct.h" -void - f_fail_chd(const char concern[], - const char path[], - t_msh *msh) +void f_fail_chd(const char concern[], const char path[], t_msh *msh) { ft_dprintf(STDERR_FILENO, "%s: %s: %s: %s\n", msh->argv[0], concern, path, strerror(errno)); diff --git a/src/f_chdir.h b/src/f_chdir.h index c4136af..d065f41 100644 --- a/src/f_chdir.h +++ b/src/f_chdir.h @@ -10,10 +10,10 @@ /* */ /* ************************************************************************** */ -#ifndef F_CHDIR_H -#define F_CHDIR_H +#ifndef FT_F_CHDIR_H +# define FT_F_CHDIR_H -#include "s_struct.h" +# include "s_struct.h" void f_fail_chd(const char concern[], const char pathp[], t_msh *msh); |