src/linked_list.c

changeset 926
8fdd8d78c14b
parent 925
fd6e191f3268
--- a/src/linked_list.c	Sat Oct 12 19:41:04 2024 +0200
+++ b/src/linked_list.c	Sun Oct 13 14:06:32 2024 +0200
@@ -819,7 +819,7 @@
 #ifndef CX_LINKED_LIST_SWAP_SBO_SIZE
 #define CX_LINKED_LIST_SWAP_SBO_SIZE 128
 #endif
-unsigned cx_linked_list_swap_sbo_size = CX_LINKED_LIST_SWAP_SBO_SIZE;
+const unsigned cx_linked_list_swap_sbo_size = CX_LINKED_LIST_SWAP_SBO_SIZE;
 
 static int cx_ll_swap(
         struct cx_list_s *list,

mercurial