diff --git a/src/cmc/intervalheap.h b/src/cmc/intervalheap.h index 2609b19..2b99a30 100644 --- a/src/cmc/intervalheap.h +++ b/src/cmc/intervalheap.h @@ -78,12 +78,6 @@ static const char *cmc_string_fmt_intervalheap = "struct %s<%s> " /* Value function table */ \ struct SNAME##_fval *f_val; \ \ - /* Function that returns an iterator to the start of the heap */ \ - struct SNAME##_iter (*it_start)(struct SNAME *); \ - \ - /* Function that returns an iterator to the end of the heap */ \ - struct SNAME##_iter (*it_end)(struct SNAME *); \ - \ /* Custom allocation functions */ \ struct cmc_alloc_node *alloc; \ \ diff --git a/src/cmc/linkedlist.h b/src/cmc/linkedlist.h index f2c7f5f..02d93fc 100644 --- a/src/cmc/linkedlist.h +++ b/src/cmc/linkedlist.h @@ -85,12 +85,6 @@ static const char *cmc_string_fmt_linkedlist = "struct %s<%s> " \ /* Custom callback functions */ \ struct cmc_callbacks *callbacks; \ - \ - /* Function that returns an iterator to the start of the list */ \ - struct SNAME##_iter (*it_start)(struct SNAME *); \ - \ - /* Function that returns an iterator to the end of the list */ \ - struct SNAME##_iter (*it_end)(struct SNAME *); \ }; \ \ /* Doubly-linked list node */ \ diff --git a/tests/main/src/intervalheap.c b/tests/main/src/intervalheap.c index d15e63f..f1eefb1 100644 --- a/tests/main/src/intervalheap.c +++ b/tests/main/src/intervalheap.c @@ -8,8 +8,6 @@ struct intervalheap size_t count; int flag; struct intervalheap_fval *f_val; - struct intervalheap_iter (*it_start)(struct intervalheap *); - struct intervalheap_iter (*it_end)(struct intervalheap *); struct cmc_alloc_node *alloc; struct cmc_callbacks *callbacks; }; diff --git a/tests/main/src/linkedlist.c b/tests/main/src/linkedlist.c index 9f3a6e5..52b12c2 100644 --- a/tests/main/src/linkedlist.c +++ b/tests/main/src/linkedlist.c @@ -9,8 +9,6 @@ struct linkedlist struct linkedlist_fval *f_val; struct cmc_alloc_node *alloc; struct cmc_callbacks *callbacks; - struct linkedlist_iter (*it_start)(struct linkedlist *); - struct linkedlist_iter (*it_end)(struct linkedlist *); }; struct linkedlist_node {