diff -r 1bd4b8c28722 -r 9c1fccda16bc src/linked_list.c --- a/src/linked_list.c Fri Oct 08 19:47:31 2021 +0200 +++ b/src/linked_list.c Sat Oct 09 11:12:48 2021 +0200 @@ -456,18 +456,6 @@ return index; } -static void *cx_ll_last(cx_list_s *list) { - cx_linked_list *ll = (cx_linked_list *) list; - cx_linked_list_node *last = ll->end; - return last == NULL ? NULL : last->payload; -} - -static void *cx_pll_last(cx_list_s *list) { - cx_linked_list *ll = (cx_linked_list *) list; - cx_linked_list_node *last = ll->end; - return last == NULL ? NULL : *(void **) last->payload; -} - static void cx_ll_sort(cx_list_s *list) { cx_linked_list *ll = (cx_linked_list *) list; cx_linked_list_sort((void **) &ll->begin, (void **) &ll->end, @@ -488,7 +476,6 @@ cx_ll_remove, cx_ll_at, cx_ll_find, - cx_ll_last, cx_ll_sort }; @@ -498,7 +485,6 @@ cx_ll_remove, cx_pll_at, cx_pll_find, - cx_pll_last, cx_pll_sort };