From c5aae008dee36276154882d8fd56c3bdeb473474 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 27 Oct 2020 19:59:20 +0100 Subject: Now norme --- src/p_args.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/p_args.c') diff --git a/src/p_args.c b/src/p_args.c index d005947..f50d52b 100644 --- a/src/p_args.c +++ b/src/p_args.c @@ -11,7 +11,6 @@ /* ************************************************************************** */ #include -#include #include #include "d_define.h" @@ -53,9 +52,9 @@ static char *p_skip_whitespace(char *ptr) ** TODO: quotes parse error */ -static uint16_t p_count_args(const char word[], +static unsigned short p_count_args(const char word[], size_t start[], - uint16_t count, + unsigned short count, t_quote_mode mode) { char *ptr; @@ -88,8 +87,8 @@ char **p_split_args(char word[]) { size_t start[512]; char **words; - uint16_t argc; - uint16_t to_del; + unsigned short argc; + unsigned short to_del; words = NULL; argc = p_count_args(word, start, 1, Q_NONE); -- cgit v1.2.3