makefile fix and other fixes
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: dgaillet <dgaillet@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/11/09 14:36:17 by dgaillet #+# #+# */
|
||||
/* Updated: 2025/11/11 15:26:21 by dgaillet ### ########lyon.fr */
|
||||
/* Updated: 2025/11/12 13:14:35 by dgaillet ### ########lyon.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -19,14 +19,3 @@ void ft_lstadd_front(t_list **lst, t_list *new)
|
||||
new->next = *lst;
|
||||
*lst = new;
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
t_list *ptr;
|
||||
t_list *lst[1];
|
||||
|
||||
ptr = ft_lstnew(NULL);
|
||||
lst[0] = NULL;
|
||||
ft_lstadd_front(lst, ptr);
|
||||
free(ptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user