From b5c5579402d442de131746b7086c8248bc188205 Mon Sep 17 00:00:00 2001 From: sanine Date: Fri, 24 Oct 2025 15:31:04 -0500 Subject: add failing sort test --- lichen.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lichen.c') 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; +} -- cgit v1.2.1