From 840957aee277e7c426647cc133b2a41e7cecd9a9 Mon Sep 17 00:00:00 2001 From: Cabergs Charles Date: Wed, 9 Oct 2019 09:12:43 +0200 Subject: Normed, Makefile bonus rule - bonus rule to add the *_bonus files to libft.a - normed memmove, calloc and bonus --- ft_lstadd_back.c | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 ft_lstadd_back.c (limited to 'ft_lstadd_back.c') diff --git a/ft_lstadd_back.c b/ft_lstadd_back.c deleted file mode 100644 index e2cbf2a..0000000 --- a/ft_lstadd_back.c +++ /dev/null @@ -1,17 +0,0 @@ -#include -#include "libft.h" - -void ft_lstadd_back(t_list **alst, t_list *new) -{ - t_list *cursor; - - if (*alst == NULL) - { - *alst = new; - return ; - } - cursor = *alst; - while (cursor->next != NULL) - cursor = cursor->next; - cursor->next = new; -} -- cgit