From 46a73e2b8cfe5370ca4ef03255d122aeccfe8bdc Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 3 Oct 2020 15:23:11 +0200 Subject: Normed p_line --- src/p_line.c | 6 ++---- src/p_line.h | 6 +++--- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/p_line.c b/src/p_line.c index c8381c8..5b51841 100644 --- a/src/p_line.c +++ b/src/p_line.c @@ -21,8 +21,7 @@ #include "s_struct.h" #include "u_utils.h" -static t_bool - p_check_whitespaces_only(char line[]) +static t_bool p_check_whitespaces_only(char line[]) { char *ptr; @@ -38,8 +37,7 @@ static t_bool return (TRUE); } -void - p_line(char line[], t_msh *msh) +void p_line(char line[], t_msh *msh) { if (p_check_whitespaces_only(line) == TRUE) { diff --git a/src/p_line.h b/src/p_line.h index b3a35c5..1ec4b81 100644 --- a/src/p_line.h +++ b/src/p_line.h @@ -10,10 +10,10 @@ /* */ /* ************************************************************************** */ -#ifndef P_LINE_H -#define P_LINE_H +#ifndef FT_P_LINE_H +# define FT_P_LINE_H -#include "s_struct.h" +# include "s_struct.h" void p_line(char *line, t_msh *msh); -- cgit v1.2.3