Make ruby_external_gc_init static
This function is not used outside of gc.c.
This commit is contained in:
parent
a47a176768
commit
f5fd87b695
2
gc.c
2
gc.c
@ -1864,7 +1864,7 @@ static void *rb_gc_impl_objspace_alloc(void);
|
|||||||
|
|
||||||
# define RUBY_GC_LIBRARY_PATH "RUBY_GC_LIBRARY_PATH"
|
# define RUBY_GC_LIBRARY_PATH "RUBY_GC_LIBRARY_PATH"
|
||||||
|
|
||||||
void
|
static void
|
||||||
ruby_external_gc_init(void)
|
ruby_external_gc_init(void)
|
||||||
{
|
{
|
||||||
char *gc_so_path = getenv(RUBY_GC_LIBRARY_PATH);
|
char *gc_so_path = getenv(RUBY_GC_LIBRARY_PATH);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user