diff options
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; - } -} -*/ |
