diff options
Diffstat (limited to 'libft/src/get_next_line_utils.c')
-rw-r--r-- | libft/src/get_next_line_utils.c | 15 |
1 files changed, 5 insertions, 10 deletions
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 <stdlib.h> #include <stddef.h> -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; |