Make ruby_autocompact_compare_func static

It's not used outside of default.c.
This commit is contained in:
Peter Zhu 2025-03-23 11:45:45 -04:00
parent e4c7eb1152
commit 6bb35a1de4
Notes: git 2025-03-25 20:19:49 +00:00

View File

@ -985,7 +985,7 @@ struct RZombie {
static bool ruby_enable_autocompact = false;
#if RGENGC_CHECK_MODE
gc_compact_compare_func ruby_autocompact_compare_func;
static gc_compact_compare_func ruby_autocompact_compare_func;
#endif
static void init_mark_stack(mark_stack_t *stack);