aboutsummaryrefslogtreecommitdiff
path: root/src/list.h
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-09-21 21:57:26 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-09-21 21:57:26 +0200
commit13293d178731bba7d77123e57bc08925d285d522 (patch)
tree8f016fa188cec8a0215c961c1cc832c2b4bdcd4a /src/list.h
parentca197d7fc187e205a0e733be1722e6e8e03515c2 (diff)
downloaddns-13293d178731bba7d77123e57bc08925d285d522.tar.gz
list: add length and tests
Diffstat (limited to 'src/list.h')
-rw-r--r--src/list.h2
1 files changed, 1 insertions, 1 deletions
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 );