From 472b8f20c0f74d20dbb434abce10ee86054b9975 Mon Sep 17 00:00:00 2001 From: yctct Date: Thu, 5 Feb 2026 12:18:33 +0100 Subject: Remove tests --- ft_lstclear.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'ft_lstclear.c') diff --git a/ft_lstclear.c b/ft_lstclear.c index e12d120..23170f3 100644 --- a/ft_lstclear.c +++ b/ft_lstclear.c @@ -37,20 +37,3 @@ void ft_lstclear(t_list **lst, void (*del)(void *)) *lst = NULL; } -/* -void ft_lstclear(t_list **lst, void (*del)(void *)) -{ - t_list *tmp; - - if (!lst) - return ; - if (!(*lst)) - return ; - while (*lst) - { - tmp = (*lst)->next; - ft_lstdelone(*lst, del); - (*lst) = tmp; - } -} -*/ -- cgit v1.2.3