summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-01 18:37:05 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-01 18:37:05 +0200
commit4c5dcf510a4adb75cd20ea903555e5e54ebdaea1 (patch)
treea1b071f299330c678323f804006d63cdfc9dc997 /src
parentNormed m_argv (diff)
download42-minishell-4c5dcf510a4adb75cd20ea903555e5e54ebdaea1.tar.gz
42-minishell-4c5dcf510a4adb75cd20ea903555e5e54ebdaea1.tar.bz2
42-minishell-4c5dcf510a4adb75cd20ea903555e5e54ebdaea1.tar.xz
42-minishell-4c5dcf510a4adb75cd20ea903555e5e54ebdaea1.tar.zst
42-minishell-4c5dcf510a4adb75cd20ea903555e5e54ebdaea1.zip
Normed m_comm
Diffstat (limited to 'src')
-rw-r--r--src/m_comm.c4
-rw-r--r--src/m_comm.h8
2 files changed, 5 insertions, 7 deletions
diff --git a/src/m_comm.c b/src/m_comm.c
index 30f609d..5e10d99 100644
--- a/src/m_comm.c
+++ b/src/m_comm.c
@@ -19,9 +19,7 @@
#include "p_line.h"
#include "s_line.h"
-uint8_t
- m_comm(const char line[],
- t_msh *msh)
+uint8_t m_comm(const char line[], t_msh *msh)
{
if (line[0] != '\0')
{
diff --git a/src/m_comm.h b/src/m_comm.h
index 3933cfe..26209b1 100644
--- a/src/m_comm.h
+++ b/src/m_comm.h
@@ -10,12 +10,12 @@
/* */
/* ************************************************************************** */
-#ifndef M_COMM_H
-#define M_COMM_H
+#ifndef FT_M_COMM_H
+# define FT_M_COMM_H
-#include <stdint.h>
+# include <stdint.h>
-#include "s_struct.h"
+# include "s_struct.h"
uint8_t m_comm(const char line[], t_msh *msh);