aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_free_words.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_free_words.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_free_words.c b/src/ft_free_words.c
index 99b7daf..de52244 100644
--- a/src/ft_free_words.c
+++ b/src/ft_free_words.c
@@ -13,7 +13,7 @@
#include <libft.h>
-void
+uint8_t
ft_free_words(char **words)
{
size_t i;
@@ -25,4 +25,5 @@ void
i++;
}
ft_memdel((void**)&words);
+ return (0);
}