summaryrefslogtreecommitdiffstats
path: root/libft/src/get_next_line_utils.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-29 19:54:12 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-29 19:54:12 +0200
commit5ef27d97f1dc36b4e9dd2420ba25166e370913d1 (patch)
tree05fe79b148c750a30c3f0149e933cb3ebc211738 /libft/src/get_next_line_utils.c
parentUpdate (diff)
download42-minishell-5ef27d97f1dc36b4e9dd2420ba25166e370913d1.tar.gz
42-minishell-5ef27d97f1dc36b4e9dd2420ba25166e370913d1.tar.bz2
42-minishell-5ef27d97f1dc36b4e9dd2420ba25166e370913d1.tar.xz
42-minishell-5ef27d97f1dc36b4e9dd2420ba25166e370913d1.tar.zst
42-minishell-5ef27d97f1dc36b4e9dd2420ba25166e370913d1.zip
End
Diffstat (limited to '')
-rw-r--r--libft/src/get_next_line_utils.c15
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;