From 450e36f8ddf974e503731288c8d8bb8c62e67e47 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 17 Jul 2020 16:33:45 +0200 Subject: Fixing ft_strtol overflow --- include/libft_lst.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/libft_lst.h b/include/libft_lst.h index 2938bd2..1d02b4e 100644 --- a/include/libft_lst.h +++ b/include/libft_lst.h @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/01/31 10:36:39 by cacharle #+# #+# */ -/* Updated: 2020/04/01 17:59:50 by charles ### ########.fr */ +/* Updated: 2020/07/13 13:11:55 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -52,6 +52,7 @@ void ft_lstreverse(t_ftlst **lst); void ft_lstremove_if(t_ftlst **lst, t_ftcompar_func cmp, const void *ref, t_ftdel_func del); +void ft_lstinsert(t_ftlst **lst, t_ftlst *insert, size_t i); t_ftlst *ft_lstbsearch(t_ftlst *lst, t_ftcompar_func cmp, const void *ref); t_ftlst *ft_lstlsearch(t_ftlst *lst, t_ftcompar_func cmp, -- cgit