From e7acdc820fefa41ae00a7c776388e3d17250a2e9 Mon Sep 17 00:00:00 2001 From: Cabergs Charles Date: Wed, 24 Jul 2019 08:02:55 +0200 Subject: c12 passed, c13 start --- c12/ex08/ft_list.h | 4 ++-- c12/ex08/ft_list_reverse.c | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'c12/ex08') diff --git a/c12/ex08/ft_list.h b/c12/ex08/ft_list.h index 0744591..d4fdda0 100644 --- a/c12/ex08/ft_list.h +++ b/c12/ex08/ft_list.h @@ -6,12 +6,12 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/07/09 14:33:17 by cacharle #+# #+# */ -/* Updated: 2019/07/19 08:28:13 by cacharle ### ########.fr */ +/* Updated: 2019/07/23 15:18:20 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef FT_LIST_H -#define FT_LIST_H +# define FT_LIST_H typedef struct s_list { diff --git a/c12/ex08/ft_list_reverse.c b/c12/ex08/ft_list_reverse.c index e5c2057..a849c3a 100644 --- a/c12/ex08/ft_list_reverse.c +++ b/c12/ex08/ft_list_reverse.c @@ -6,11 +6,14 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/07/09 18:05:23 by cacharle #+# #+# */ -/* Updated: 2019/07/19 08:18:13 by cacharle ### ########.fr */ +/* Updated: 2019/07/23 15:42:03 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ -void ft_list_reverse(t_list **begin_list) +#include +#include "ft_list.h" + +void ft_list_reverse(t_list **begin_list) { t_list *cursor; t_list *prev; -- cgit