fix: lst -> slist
This commit is contained in:
parent
93da2c9ca6
commit
14adc54215
16 changed files with 48 additions and 46 deletions
|
|
@ -1,14 +0,0 @@
|
|||
#include "libft.h"
|
||||
|
||||
t_list *ft_lstnew(void *data)
|
||||
{
|
||||
t_list *node = (t_list *)malloc(sizeof(t_list));
|
||||
|
||||
if (!node)
|
||||
return (NULL);
|
||||
|
||||
node->data = data;
|
||||
node->next = NULL;
|
||||
|
||||
return node;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue