src/linked_list.c

changeset 521
e5dc54131d55
parent 509
0d3c6075f82c
child 524
e98b09018d32
equal deleted inserted replaced
520:f937c6d11d1f 521:e5dc54131d55
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

mercurial