From 0131724fbe1f68a9b43305853b66a205e15c7f86 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 1 Oct 2020 18:29:06 +0200 Subject: Normed f_chdir --- src/f_chdir.c | 5 +---- 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); -- cgit v1.2.3