From 9c4bfa7a3f0afe0f9f293fb4e2042e3babf31467 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sun, 12 Mar 2023 18:36:58 +0100 Subject: Fix warning. --- misc/examples/new_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/examples/new_list.c b/misc/examples/new_list.c index 6dbe80b4..23709a64 100644 --- a/misc/examples/new_list.c +++ b/misc/examples/new_list.c @@ -11,7 +11,6 @@ struct MyStruct { #define i_val int #define i_opt c_is_forward #define i_tag i32 -#define i_extern // define _clist_mergesort() #include struct Point { int x, y; } typedef Point; @@ -53,6 +52,7 @@ int main() c_forlist (i, float, {123.3f, 321.2f, -32.2f, 78.2f}) clist_float_push_back(&flst, *i.ref); + clist_float_sort(&flst); c_foreach (i, clist_float, flst) printf(" %g", *i.ref); } -- cgit v1.2.3