From bebdb6929703ebdf9d3f65f19fd29780ac39cab3 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 15 Oct 2019 14:15:25 +0200 Subject: Removed libft_bonus.h bonus rule in Makefile remove guard close in libft.h to declare t_list struct and ft_lst* prototypes. Fixed ft_lstclear with recursion. --- ft_lstmap_bonus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ft_lstmap_bonus.c') diff --git a/ft_lstmap_bonus.c b/ft_lstmap_bonus.c index 3a0247a..9e80a3b 100644 --- a/ft_lstmap_bonus.c +++ b/ft_lstmap_bonus.c @@ -11,7 +11,7 @@ /* ************************************************************************** */ #include -#include "libft_bonus.h" +#include "libft.h" t_list *ft_lstmap(t_list *lst, t_list *(*f)(t_list *)) { -- cgit