From 5ef27d97f1dc36b4e9dd2420ba25166e370913d1 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 29 Sep 2020 19:54:12 +0200 Subject: End --- libft/src/get_next_line_utils.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'libft/src/get_next_line_utils.c') diff --git a/libft/src/get_next_line_utils.c b/libft/src/get_next_line_utils.c index 5181808..6e0cfaa 100644 --- a/libft/src/get_next_line_utils.c +++ b/libft/src/get_next_line_utils.c @@ -14,8 +14,7 @@ #include #include -size_t - ft_strlen_gnl(const char *s, char c) +size_t ft_strlen_gnl(const char *s, char c) { size_t i; @@ -27,8 +26,7 @@ size_t return (i); } -int - ft_free_gnl(int fd, t_gnl **list) +int ft_free_gnl(int fd, t_gnl **list) { t_gnl *scout; t_gnl *prev; @@ -54,8 +52,7 @@ int return (0); } -t_gnl - *ft_find_fd(int fd, t_gnl **list) +t_gnl *ft_find_fd(int fd, t_gnl **list) { t_gnl *curr; t_gnl *new; @@ -82,8 +79,7 @@ t_gnl return (curr); } -char - *ft_strchr_gnl(const char *s, int c) +char *ft_strchr_gnl(const char *s, int c) { unsigned int i; @@ -98,8 +94,7 @@ char return ((char *)s + i); } -char - *ft_swap_gnl(char *s1, char *free_ft) +char *ft_swap_gnl(char *s1, char *free_ft) { char *dst; int i; -- cgit v1.2.3