aboutsummaryrefslogtreecommitdiff
path: root/libft.h
diff options
context:
space:
mode:
Diffstat (limited to 'libft.h')
-rw-r--r--libft.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libft.h b/libft.h
index 87b57c2..1ba3dda 100644
--- a/libft.h
+++ b/libft.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/10/07 09:45:02 by cacharle #+# #+# */
-/* Updated: 2019/10/17 09:08:31 by cacharle ### ########.fr */
+/* Updated: 2019/10/25 03:32:43 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -81,6 +81,7 @@ void ft_putchar_fd(char c, int fd);
void ft_putstr_fd(char *s, int fd);
void ft_putendl_fd(char *s, int fd);
void ft_putnbr_fd(int n, int fd);
+char *ft_strndup(const char *s1, size_t n);
/*
** bonus
@@ -96,5 +97,6 @@ void ft_lstclear(t_list **lst, void (*del)(void *));
void ft_lstiter(t_list *lst, void (*f)(void *));
t_list *ft_lstmap(t_list *lst, void *(*f)(void *),
void (*del)(void *));
+void ft_lstpop_front(t_list **lst, void (*del)(void *));
#endif