aboutsummaryrefslogtreecommitdiff
path: root/c12/ex11/ft_list_find.c
diff options
context:
space:
mode:
Diffstat (limited to 'c12/ex11/ft_list_find.c')
-rw-r--r--c12/ex11/ft_list_find.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/c12/ex11/ft_list_find.c b/c12/ex11/ft_list_find.c
index e0d22e8..00d7903 100644
--- a/c12/ex11/ft_list_find.c
+++ b/c12/ex11/ft_list_find.c
@@ -6,11 +6,14 @@
/* By: cacharle <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/07/19 08:35:32 by cacharle #+# #+# */
-/* Updated: 2019/07/19 08:38:01 by cacharle ### ########.fr */
+/* Updated: 2019/07/23 15:43:57 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
-t_list *ft_list_find(t_list *begin_list, void *data_ref, int (*cmp)())
+#include <stdlib.h>
+#include "ft_list.h"
+
+t_list *ft_list_find(t_list *begin_list, void *data_ref, int (*cmp)())
{
while (begin_list != NULL)
{