remis les header des toutes les fonctions

This commit is contained in:
Hugo LAMY
2019-11-25 14:17:42 +01:00
parent 500c4516b1
commit b6e9b9e5e6
43 changed files with 207 additions and 285 deletions

View File

@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_lstclear.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hulamy <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/11/25 14:13:30 by hulamy #+# #+# */
/* Updated: 2019/11/25 14:13:49 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
/*
** delete and free an element of the list and all the followings
*/
@@ -11,20 +23,6 @@
** struct s_list *next;
** } t_list;
**
** void *ft_memcpy(void *dst, const void *src, size_t n)
** {
** size_t i;
** char *ptr;
** char *ptr2;
**
** ptr = (char *)dst;
** ptr2 = (char *)src;
** i = -1;
** while (++i < n)
** ptr[i] = ptr2[i];
** return (dst);
** }
**
** t_list *ft_lstnew(void *content)
** {
** t_list *lst;
@@ -102,4 +100,3 @@ void ft_lstclear(t_list **lst, void (*del)(void *))
ft_lstclear(&(*lst)->next, del);
ft_lstdelone(*lst, del);
}