diff options
Diffstat (limited to 'ft_lstlast.c')
| -rw-r--r-- | ft_lstlast.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ft_lstlast.c b/ft_lstlast.c deleted file mode 100644 index 7442937..0000000 --- a/ft_lstlast.c +++ /dev/null @@ -1,11 +0,0 @@ -#include <stdlib.h> -#include "libft.h" - -t_list *ft_lstlast(t_list *lst) -{ - if (lst == NULL) - return (NULL); - while (lst->next != NULL) - lst = lst->next; - return (lst); -} |
