aboutsummaryrefslogtreecommitdiff
path: root/src/lst/ft_lstpop_front.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-01-30 20:24:32 +0100
committerCharles <sircharlesaze@gmail.com>2020-01-30 20:24:32 +0100
commit6500b1ca9ce911d3db7c94ee3f4ee38489b8861a (patch)
tree4d2766b1bea4322a6e5851f53af33178d9643a5c /src/lst/ft_lstpop_front.c
parentaa244ec3fb071a7fd08494d04cc865b281502804 (diff)
downloadlibft-6500b1ca9ce911d3db7c94ee3f4ee38489b8861a.tar.gz
libft-6500b1ca9ce911d3db7c94ee3f4ee38489b8861a.tar.bz2
libft-6500b1ca9ce911d3db7c94ee3f4ee38489b8861a.zip
Renaming t_list -> t_ftlst, changing feature adding by header
Diffstat (limited to 'src/lst/ft_lstpop_front.c')
-rw-r--r--src/lst/ft_lstpop_front.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lst/ft_lstpop_front.c b/src/lst/ft_lstpop_front.c
index f59c9b8..ff386f9 100644
--- a/src/lst/ft_lstpop_front.c
+++ b/src/lst/ft_lstpop_front.c
@@ -10,12 +10,12 @@
/* */
/* ************************************************************************** */
-#include <stdlib.h>
#include "libft.h"
+#include "libft_lst.h"
-void ft_lstpop_front(t_list **lst, void (*del)(void *))
+void ft_lstpop_front(t_ftlst **lst, void (*del)(void *))
{
- t_list *tmp;
+ t_ftlst *tmp;
if (lst == NULL || *lst == NULL)
return ;