summaryrefslogtreecommitdiff
path: root/lichen.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2025-10-24 15:31:04 -0500
committersanine <sanine.not@pm.me>2025-10-24 15:31:04 -0500
commitb5c5579402d442de131746b7086c8248bc188205 (patch)
treef646dcd774ce751092e901aa76cc120ffcf3c205 /lichen.c
parent9d35ddb703d7ba22bdd6cdbaaf3b5c992ec79025 (diff)
add failing sort testlichen-c
Diffstat (limited to 'lichen.c')
-rw-r--r--lichen.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lichen.c b/lichen.c
index d7f0f82..912dbff 100644
--- a/lichen.c
+++ b/lichen.c
@@ -133,3 +133,10 @@ int li_copy_list(struct li_ll_t **dst, struct li_ll_t *src, void *(*copy_data)(v
return 0;
}
+
+
+int li_sort_list(struct li_ll_t *list, int (*compare_data)(void *, void*)) {
+ list = list;
+ compare_data = compare_data;
+ return 0;
+}