diff options
Diffstat (limited to 'test_mini/libft/src/lst/ft_lstiter.c')
| -rw-r--r-- | test_mini/libft/src/lst/ft_lstiter.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/test_mini/libft/src/lst/ft_lstiter.c b/test_mini/libft/src/lst/ft_lstiter.c deleted file mode 100644 index e46b507..0000000 --- a/test_mini/libft/src/lst/ft_lstiter.c +++ /dev/null @@ -1,29 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* ft_lstiter.c :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2019/10/09 09:03:22 by cacharle #+# #+# */ -/* Updated: 2019/11/20 04:01:39 by cacharle ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#include "libft_lst.h" - -/* -** \brief Iterate of list -** \param f Funtion applied to data of each node -*/ - -void ft_lstiter(t_ftlst *lst, void (*f)(void *)) -{ - if (f == NULL) - return ; - while (lst != NULL) - { - (*f)(lst->data); - lst = lst->next; - } -} |
