From c6461422f7fd056a951a2e5ec553bbfbd7ddd50e Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Wed, 30 Nov 2022 22:50:56 +0100 Subject: Rename iterator_has_next() to clist_iterator_has_next() --- test/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/main.c') diff --git a/test/main.c b/test/main.c index 0ba6c26..77b78ac 100644 --- a/test/main.c +++ b/test/main.c @@ -53,9 +53,9 @@ int main(int argc, char** argv) clist_add_all(&list1, &list2); printf("read from list with iterator:\n"); - + it = clist_iterator(&list1); - while(iterator_has_next(&it)) { + while(clist_iterator_has_next(&it)) { current = iterator_next(&it); printf("%s\n", (char *) current->data); } -- cgit v1.2.3