aboutsummaryrefslogtreecommitdiff
path: root/src/lst/ft_lstsize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lst/ft_lstsize.c')
-rw-r--r--src/lst/ft_lstsize.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lst/ft_lstsize.c b/src/lst/ft_lstsize.c
index 922b581..6a92b99 100644
--- a/src/lst/ft_lstsize.c
+++ b/src/lst/ft_lstsize.c
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* ft_lstsize_bonus.c :+: :+: :+: */
+/* ft_lstsize.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
@@ -10,9 +10,13 @@
/* */
/* ************************************************************************** */
-#include "libft.h"
#include "libft_lst.h"
+/**
+** \brief List size
+** \return Number of node in list
+*/
+
int ft_lstsize(t_ftlst *lst)
{
int counter;