summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-01 18:38:20 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-01 18:38:20 +0200
commit0f46c62ea7d960d0e9644fc459f8b5b6220d74b4 (patch)
treeae1e757a132757eb5dd141099475f6a596a934d5
parentNormed m_comm (diff)
download42-minishell-0f46c62ea7d960d0e9644fc459f8b5b6220d74b4.tar.gz
42-minishell-0f46c62ea7d960d0e9644fc459f8b5b6220d74b4.tar.bz2
42-minishell-0f46c62ea7d960d0e9644fc459f8b5b6220d74b4.tar.xz
42-minishell-0f46c62ea7d960d0e9644fc459f8b5b6220d74b4.tar.zst
42-minishell-0f46c62ea7d960d0e9644fc459f8b5b6220d74b4.zip
Normed m_funptr
-rw-r--r--src/m_comm.c1
-rw-r--r--src/m_funptr.c3
-rw-r--r--src/m_funptr.h6
3 files changed, 4 insertions, 6 deletions
diff --git a/src/m_comm.c b/src/m_comm.c
index 5e10d99..3580403 100644
--- a/src/m_comm.c
+++ b/src/m_comm.c
@@ -33,4 +33,3 @@ uint8_t m_comm(const char line[], t_msh *msh)
}
return (msh->ret);
}
-
diff --git a/src/m_funptr.c b/src/m_funptr.c
index 0bf0d20..2ae09f6 100644
--- a/src/m_funptr.c
+++ b/src/m_funptr.c
@@ -19,8 +19,7 @@
#include "m_funptr.h"
#include "s_struct.h"
-void
- init_buptr(t_msh *msh)
+void init_buptr(t_msh *msh)
{
msh->bu_ptr[B_ID_ECHO] = b_echo;
msh->bu_ptr[B_ID_CD] = b_cd;
diff --git a/src/m_funptr.h b/src/m_funptr.h
index 1a0f198..f97094e 100644
--- a/src/m_funptr.h
+++ b/src/m_funptr.h
@@ -10,10 +10,10 @@
/* */
/* ************************************************************************** */
-#ifndef M_FUNPTR_H
-#define M_FUNPTR_H
+#ifndef FT_M_FUNPTR_H
+# define FT_M_FUNPTR_H
-#include "s_struct.h"
+# include "s_struct.h"
void init_buptr(t_msh *msh);