Skip to content

Commit f5fd87b

Browse files
committed
Make ruby_external_gc_init static
This function is not used outside of gc.c.
1 parent a47a176 commit f5fd87b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1864,7 +1864,7 @@ static void *rb_gc_impl_objspace_alloc(void);
18641864

18651865
# define RUBY_GC_LIBRARY_PATH "RUBY_GC_LIBRARY_PATH"
18661866

1867-
void
1867+
static void
18681868
ruby_external_gc_init(void)
18691869
{
18701870
char *gc_so_path = getenv(RUBY_GC_LIBRARY_PATH);

0 commit comments

Comments
 (0)