From 13293d178731bba7d77123e57bc08925d285d522 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Tue, 21 Sep 2021 21:57:26 +0200 Subject: list: add length and tests --- src/list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/list.h') diff --git a/src/list.h b/src/list.h index 71594ad..1359955 100644 --- a/src/list.h +++ b/src/list.h @@ -20,6 +20,6 @@ int list_add( list_element_t** _root, void* _data ); int list_sort ( list_element_t** _root ); -int list_length ( list_element_t* _root ); +int list_length ( list_element_t** _root ); void* list_pop_front ( list_element_t** _root ); -- cgit v1.2.3