From 3f846f386c6e51f707ab418b549e4fb4180960de Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Mon, 13 Mar 2023 17:12:26 +0100 Subject: Change data return in clist_iterator_next We want only data and not the node structure. --- 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 c98f8e8..da0793d 100644 --- a/src/list.h +++ b/src/list.h @@ -41,7 +41,7 @@ void clist_add_all (list_t *, list_t *); void clist_remove (list_t *, list_item_t *); iterator_t clist_iterator (list_t *); int clist_iterator_has_next(iterator_t); -list_item_t *clist_iterator_next (iterator_t *); +void *clist_iterator_next (iterator_t *); char* clist_version (void); #endif -- cgit v1.2.3