From b39cd85e93ab8c3d9be249160bbcb6200dd9b5a3 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 2 Oct 2020 19:47:19 +0200 Subject: Normed p_args_len --- src/p_args_len.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/p_args_len.c') diff --git a/src/p_args_len.c b/src/p_args_len.c index 729e5c5..f7d3710 100644 --- a/src/p_args_len.c +++ b/src/p_args_len.c @@ -17,8 +17,9 @@ #include "u_parse.h" #include "u_utils.h" -static t_bool - p_meet_whitespace(const char *head, char *ptr, t_quote_mode mode) +static t_bool p_meet_whitespace(const char *head, + char *ptr, + t_quote_mode mode) { if (mode == Q_NONE && u_is_not_escaped(head, ptr) == TRUE) { @@ -27,8 +28,7 @@ static t_bool return (FALSE); } -size_t - p_arg_len(const char word[], const size_t start) +size_t p_arg_len(const char word[], const size_t start) { t_quote_mode mode; char *ptr; @@ -53,4 +53,3 @@ size_t ptr -= 1; return (ptr - word); } - -- cgit v1.2.3