diff options
| author | yctct <yctct@yctct.com> | 2026-02-05 12:18:33 +0100 |
|---|---|---|
| committer | yctct <yctct@yctct.com> | 2026-02-05 12:18:33 +0100 |
| commit | 472b8f20c0f74d20dbb434abce10ee86054b9975 (patch) | |
| tree | 95625c0ba5a7f999c9add7f9bd55bb0f0b4dc173 /ft_lstclear.c | |
| parent | 8403fab94b17bc63bc193037c8777b9074707287 (diff) | |
Diffstat (limited to 'ft_lstclear.c')
| -rw-r--r-- | ft_lstclear.c | 17 |
1 files changed, 0 insertions, 17 deletions
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; - } -} -*/ |
