623 true, list->cmpfunc); |
623 true, list->cmpfunc); |
624 } |
624 } |
625 |
625 |
626 static void cx_ll_reverse(struct cx_list_s *list) { |
626 static void cx_ll_reverse(struct cx_list_s *list) { |
627 cx_linked_list *ll = (cx_linked_list *) list; |
627 cx_linked_list *ll = (cx_linked_list *) list; |
628 cx_linked_list_reverse((void **) &ll->begin, (void **) ll->end, CX_LL_LOC_PREV, CX_LL_LOC_NEXT); |
628 cx_linked_list_reverse((void **) &ll->begin, (void **) &ll->end, CX_LL_LOC_PREV, CX_LL_LOC_NEXT); |
629 } |
629 } |
630 |
630 |
631 static int cx_ll_compare( |
631 static int cx_ll_compare( |
632 struct cx_list_s const *list, |
632 struct cx_list_s const *list, |
633 struct cx_list_s const *other |
633 struct cx_list_s const *other |