aboutsummaryrefslogtreecommitdiff
path: root/ft_lstiter_bonus.c
diff options
context:
space:
mode:
Diffstat (limited to 'ft_lstiter_bonus.c')
-rw-r--r--ft_lstiter_bonus.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/ft_lstiter_bonus.c b/ft_lstiter_bonus.c
deleted file mode 100644
index 282e0fa..0000000
--- a/ft_lstiter_bonus.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/* ************************************************************************** */
-/* */
-/* ::: :::::::: */
-/* ft_lstiter_bonus.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.h"
-
-void ft_lstiter(t_list *lst, void (*f)(void *))
-{
- if (f == NULL)
- return ;
- while (lst != NULL)
- {
- (*f)(lst->content);
- lst = lst->next;
- }
-}