fix: lst -> slist
This commit is contained in:
parent
93da2c9ca6
commit
14adc54215
16 changed files with 48 additions and 46 deletions
|
|
@ -1,13 +0,0 @@
|
|||
#include "libft.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
void ft_lstclear(t_list **lst)
|
||||
{
|
||||
t_list *tmp;
|
||||
while (lst && *lst)
|
||||
{
|
||||
tmp = (*lst)->next;
|
||||
free(*lst);
|
||||
*lst = tmp;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue