summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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);