From b1a86b85fea1d90764b84b0f7e3e5a88ac178afa Mon Sep 17 00:00:00 2001 From: starnakin Date: Thu, 5 Sep 2024 16:00:49 +0200 Subject: [PATCH] clean: ft_list_size, use right prototype --- include/libasm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libasm.h b/include/libasm.h index 6e16d40..83156a5 100644 --- a/include/libasm.h +++ b/include/libasm.h @@ -12,4 +12,4 @@ ssize_t ft_write(int fd, const void *buf, size_t count); char *ft_strdup(const char *s); ssize_t ft_read(int fildes, void *buf, size_t nbyte); -size_t ft_list_size(const t_list *root); \ No newline at end of file +int ft_list_size(t_list *begin_list); \ No newline at end of file