-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_lstdel.c
19 lines (17 loc) · 1015 Bytes
/
ft_lstdel.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_lstdel.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: kyork <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/09/23 11:12:15 by kyork #+# #+# */
/* Updated: 2016/09/23 11:13:59 by kyork ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_lstdel(t_list **alst, void (*del)(void *, size_t))
{
while (*alst)
ft_lstpop(alst, del);
}