aboutsummaryrefslogtreecommitdiff
path: root/src/lst/ft_lstpop_front.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lst/ft_lstpop_front.c')
-rw-r--r--src/lst/ft_lstpop_front.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lst/ft_lstpop_front.c b/src/lst/ft_lstpop_front.c
index ff386f9..a61350a 100644
--- a/src/lst/ft_lstpop_front.c
+++ b/src/lst/ft_lstpop_front.c
@@ -5,14 +5,18 @@
/* +:+ +:+ +:+ */
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
-/* Created: 2019/10/25 03:32:51 by cacharle #+# #+# */
-/* Updated: 2020/01/15 12:46:28 by cacharle ### ########.fr */
+/* Created: 2020/01/30 08:29:58 by cacharle #+# #+# */
+/* Updated: 2020/02/28 12:12:47 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
-#include "libft.h"
#include "libft_lst.h"
+/*
+** \brief Delete head node and replace it with next node
+** \param del Delete function for node data
+*/
+
void ft_lstpop_front(t_ftlst **lst, void (*del)(void *))
{
t_ftlst *tmp;