diff options
Diffstat (limited to 'src/p_args_len.c')
-rw-r--r-- | src/p_args_len.c | 9 |
1 files changed, 4 insertions, 5 deletions
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); } - |