From 5bab06313e71e9827baa426a02bbaf2a00b4e6a0 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 24 Jul 2019 08:02:55 +0200 Subject: c12 passed, c13 start --- c12/ex11/ft_list.h | 4 ++-- c12/ex11/ft_list_find.c | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'c12/ex11') diff --git a/c12/ex11/ft_list.h b/c12/ex11/ft_list.h index 698a86c..ca62a2f 100644 --- a/c12/ex11/ft_list.h +++ b/c12/ex11/ft_list.h @@ -6,12 +6,12 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/07/09 14:33:17 by cacharle #+# #+# */ -/* Updated: 2019/07/19 08:27:07 by cacharle ### ########.fr */ +/* Updated: 2019/07/23 15:21:14 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef FT_LIST_H -#define FT_LIST_H +# define FT_LIST_H typedef struct s_list { 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 +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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 +#include "ft_list.h" + +t_list *ft_list_find(t_list *begin_list, void *data_ref, int (*cmp)()) { while (begin_list != NULL) { -- cgit