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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lst/ft_lstpop_front.c b/src/lst/ft_lstpop_front.c
index 5bf2c60..798bf83 100644
--- a/src/lst/ft_lstpop_front.c
+++ b/src/lst/ft_lstpop_front.c
@@ -10,9 +10,13 @@
/* */
/* ************************************************************************** */
-#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;