src/linked_list.c

changeset 1605
55b13f583356
parent 1534
38d3f40a50ec
--- a/src/linked_list.c	Sun Dec 14 16:21:09 2025 +0100
+++ b/src/linked_list.c	Sun Dec 14 17:30:17 2025 +0100
@@ -1272,7 +1272,6 @@
 
 CxList *cxLinkedListCreate(
         const CxAllocator *allocator,
-        cx_compare_func comparator,
         size_t elem_size
 ) {
     if (allocator == NULL) {
@@ -1287,7 +1286,7 @@
     list->loc_extra = -1;
     list->extra_data_len = 0;
     cx_list_init((CxList*)list, &cx_linked_list_class,
-            allocator, comparator, elem_size);
+            allocator, elem_size);
 
     return (CxList *) list;
 }

mercurial