makefile fix and other fixes

This commit is contained in:
David Gailleton
2025-11-12 16:45:04 +01:00
parent 3433a95ddd
commit 187e68e1aa
26 changed files with 88 additions and 61 deletions

View File

@@ -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);
}