aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-07-17 16:33:45 +0200
committerCharles <sircharlesaze@gmail.com>2020-07-17 16:33:45 +0200
commit450e36f8ddf974e503731288c8d8bb8c62e67e47 (patch)
tree428eacfe26c4b7237ff98d339b5ed41b971cfd34 /include
parent0fc1e473e3bae0e1df32228ff72b9ab654fd2ac3 (diff)
downloadlibft-450e36f8ddf974e503731288c8d8bb8c62e67e47.tar.gz
libft-450e36f8ddf974e503731288c8d8bb8c62e67e47.tar.bz2
libft-450e36f8ddf974e503731288c8d8bb8c62e67e47.zip
Fixing ft_strtol overflow
Diffstat (limited to 'include')
-rw-r--r--include/libft_lst.h3
1 files changed, 2 insertions, 1 deletions
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 <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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,