Make ruby_external_gc_init static

This function is not used outside of gc.c.
This commit is contained in:
Peter Zhu 2024-06-20 11:34:52 -04:00
parent a47a176768
commit f5fd87b695

2
gc.c
View File

@ -1864,7 +1864,7 @@ static void *rb_gc_impl_objspace_alloc(void);
# define RUBY_GC_LIBRARY_PATH "RUBY_GC_LIBRARY_PATH"
void
static void
ruby_external_gc_init(void)
{
char *gc_so_path = getenv(RUBY_GC_LIBRARY_PATH);