diff options
author | 2022-11-30 22:50:56 +0100 | |
---|---|---|
committer | 2022-11-30 22:50:56 +0100 | |
commit | c6461422f7fd056a951a2e5ec553bbfbd7ddd50e (patch) | |
tree | b056e213141a465c6492602071cec68cc453c842 /test | |
parent | 43b7cbf59dde3538140af7bf28bc9d6e5401de52 (diff) | |
download | utils-c6461422f7fd056a951a2e5ec553bbfbd7ddd50e.tar.gz utils-c6461422f7fd056a951a2e5ec553bbfbd7ddd50e.zip |
Rename iterator_has_next() to clist_iterator_has_next()
Diffstat (limited to 'test')
-rw-r--r-- | test/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |