Skip to content

Commit

Permalink
Make ruby_external_gc_init static
Browse files Browse the repository at this point in the history
This function is not used outside of gc.c.
  • Loading branch information
peterzhu2118 committed Jun 20, 2024
1 parent a47a176 commit f5fd87b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f5fd87b

Please sign in to comment.