From 9a915b797a80c2a776027b1fcc37f1e7b8ab1b24 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 29 Sep 2020 19:50:20 +0200 Subject: Update --- libft/src/ft_strtok_r.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'libft/src/ft_strtok_r.c') diff --git a/libft/src/ft_strtok_r.c b/libft/src/ft_strtok_r.c index f3411cc..6d9fa40 100644 --- a/libft/src/ft_strtok_r.c +++ b/libft/src/ft_strtok_r.c @@ -12,8 +12,7 @@ #include -static t_stok - ft_cont(char *s, const char *delim) +static t_stok ft_cont(char *s, const char *delim) { t_stok stok; t_bool inc; @@ -38,8 +37,7 @@ static t_stok return (stok); } -static char - *ft_scan_ret(char *s, char **last, char *tok, t_stok stok) +static char *ft_scan_ret(char *s, char **last, char *tok, t_stok stok) { if ((stok.sc = *stok.spanp++) == stok.c) { @@ -65,8 +63,7 @@ static char return (NULL); } -static char - *ft_scan_tok(char *s, const char *delim, char **last, t_stok stok) +static char *ft_scan_tok(char *s, const char *delim, char **last, t_stok stok) { char *tok; char *ret; @@ -83,8 +80,7 @@ static char } } -char - *ft_strtok_r(char *s, const char *delim, char **last) +char *ft_strtok_r(char *s, const char *delim, char **last) { t_stok stok; -- cgit v1.2.3