aboutsummaryrefslogtreecommitdiff
path: root/ft_list_size.s
diff options
context:
space:
mode:
Diffstat (limited to 'ft_list_size.s')
-rw-r--r--ft_list_size.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/ft_list_size.s b/ft_list_size.s
index ad89999..5367a17 100644
--- a/ft_list_size.s
+++ b/ft_list_size.s
@@ -10,10 +10,10 @@
; ;
; **************************************************************************** ;
-global _ft_list_size
+global ft_list_size
; int ft_list_size(t_list *begin_list);
-_ft_list_size:
+ft_list_size:
xor eax, eax
FT_LIST_SIZE_LOOP:
cmp rdi, 0
@@ -21,5 +21,5 @@ FT_LIST_SIZE_LOOP:
inc eax
mov rdi, [rdi + 8]
jmp FT_LIST_SIZE_LOOP
-FT_LIST_SIZE_END
+FT_LIST_SIZE_END:
ret