summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-01 18:30:16 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-01 18:30:16 +0200
commit2f90caf673a8a564aeb3899d4294d0e1191dc837 (patch)
treeee3539e4b0280d9346165e7ab66a21ae11c62812
parentNormed f_chdir (diff)
download42-minishell-2f90caf673a8a564aeb3899d4294d0e1191dc837.tar.gz
42-minishell-2f90caf673a8a564aeb3899d4294d0e1191dc837.tar.bz2
42-minishell-2f90caf673a8a564aeb3899d4294d0e1191dc837.tar.xz
42-minishell-2f90caf673a8a564aeb3899d4294d0e1191dc837.tar.zst
42-minishell-2f90caf673a8a564aeb3899d4294d0e1191dc837.zip
Normed f_com
Diffstat (limited to '')
-rw-r--r--src/f_com.c3
-rw-r--r--src/f_com.h6
2 files changed, 4 insertions, 5 deletions
diff --git a/src/f_com.c b/src/f_com.c
index 4902977..7b06128 100644
--- a/src/f_com.c
+++ b/src/f_com.c
@@ -16,8 +16,7 @@
#include "d_define.h"
#include "s_struct.h"
-void
- f_fail_command_not_found(const char command[], t_msh *msh)
+void f_fail_command_not_found(const char command[], t_msh *msh)
{
ft_dprintf(STDERR_FILENO, "%s: %s: %s\n", "minishell", command,
F_COMMAND_NOT_FOUND);
diff --git a/src/f_com.h b/src/f_com.h
index d7c46e1..a6859f5 100644
--- a/src/f_com.h
+++ b/src/f_com.h
@@ -10,10 +10,10 @@
/* */
/* ************************************************************************** */
-#ifndef F_COM_H
-#define F_COM_H
+#ifndef FT_F_COM_H
+# define FT_F_COM_H
-#include "s_struct.h"
+# include "s_struct.h"
void f_fail_command_not_found(const char command[], t_msh *msh);