diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-28 01:26:44 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-28 01:26:44 +0100 |
commit | f6faf88cd0991be3184af67d5fa271b12f70e925 (patch) | |
tree | 02c283541fd2c0b4ccacd31172cccf2ba9711c51 /src/p_args_next.c | |
parent | Norming in progress (diff) | |
download | 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.gz 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.bz2 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.xz 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.zst 42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.zip |
Norming
Diffstat (limited to 'src/p_args_next.c')
-rw-r--r-- | src/p_args_next.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/p_args_next.c b/src/p_args_next.c index 83319be..8eb8e21 100644 --- a/src/p_args_next.c +++ b/src/p_args_next.c @@ -21,10 +21,10 @@ #include "p_args.h" #include "p_args_len.h" -static char *p_give_me_an_arg(char tmp[], - const char word[], - const unsigned short i, - const size_t start[]) +static char *p_give_me_an_arg(char tmp[], + const char word[], + const unsigned short i, + const size_t start[]) { tmp[0] = '\0'; ft_strlcpy(tmp, @@ -33,7 +33,7 @@ static char *p_give_me_an_arg(char tmp[], return (tmp); } -void p_del_alloced_words(char *words[], unsigned short to_del) +void p_del_alloced_words(char *words[], unsigned short to_del) { unsigned short i; @@ -46,11 +46,11 @@ void p_del_alloced_words(char *words[], unsigned short to_del) } unsigned short p_dup_words(char *words[], - const char word[], - const unsigned short argc, - const size_t start[]) + const char word[], + const unsigned short argc, + const size_t start[]) { - char tmp[ARG_MAX]; + char tmp[ARG_MAX]; unsigned short i; i = 0; |