From 49ad59b0e773e92e93fb69ede889c781ca53e680 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 15 Jan 2020 07:56:02 +0100 Subject: Move *.o -> src/, *.h -> include/ and *.o -> build --- ft_lstlast_bonus.c | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 ft_lstlast_bonus.c (limited to 'ft_lstlast_bonus.c') diff --git a/ft_lstlast_bonus.c b/ft_lstlast_bonus.c deleted file mode 100644 index 247f4da..0000000 --- a/ft_lstlast_bonus.c +++ /dev/null @@ -1,22 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* ft_lstlast_bonus.c :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: cacharle +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2019/10/09 09:03:40 by cacharle #+# #+# */ -/* Updated: 2019/11/20 04:02:26 by cacharle ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#include "libft.h" - -t_list *ft_lstlast(t_list *lst) -{ - if (lst == NULL) - return (NULL); - while (lst->next != NULL) - lst = lst->next; - return (lst); -} -- cgit