aboutsummaryrefslogtreecommitdiff
path: root/ft_lstlast_bonus.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-10-15 14:15:25 +0200
committerCharles <sircharlesaze@gmail.com>2019-10-15 15:01:35 +0200
commitbebdb6929703ebdf9d3f65f19fd29780ac39cab3 (patch)
tree158ced4ccae46cd537ec22e57cb361e1d3e1ebf5 /ft_lstlast_bonus.c
parentf23592ea0c122a0da2723d4253c47ca227529f79 (diff)
downloadlibft-bebdb6929703ebdf9d3f65f19fd29780ac39cab3.tar.gz
libft-bebdb6929703ebdf9d3f65f19fd29780ac39cab3.tar.bz2
libft-bebdb6929703ebdf9d3f65f19fd29780ac39cab3.zip
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.
Diffstat (limited to 'ft_lstlast_bonus.c')
-rw-r--r--ft_lstlast_bonus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ft_lstlast_bonus.c b/ft_lstlast_bonus.c
index e3195e8..4246cfc 100644
--- a/ft_lstlast_bonus.c
+++ b/ft_lstlast_bonus.c
@@ -11,7 +11,7 @@
/* ************************************************************************** */
#include <stdlib.h>
-#include "libft_bonus.h"
+#include "libft.h"
t_list *ft_lstlast(t_list *lst)
{