fix: lst -> slist

This commit is contained in:
Zoëy Noort 2025-05-31 20:17:01 +02:00
parent 93da2c9ca6
commit 14adc54215
16 changed files with 48 additions and 46 deletions

View file

@ -1,13 +0,0 @@
#include "libft.h"
t_list *ft_lstshift(t_list **lst)
{
t_list *first;
if (!lst || !*lst)
return NULL;
first = *lst;
*lst = first->next;
first->next = NULL;
return first;
}