Fix compiler warning for ruby_external_gc_init
Fixes: warning: old-style function definition [-Wold-style-definition]
This commit is contained in:
parent
ab228bd084
commit
41e17f5624
2
gc.c
2
gc.c
@ -1888,7 +1888,7 @@ static void *rb_gc_impl_objspace_alloc(void);
|
|||||||
# include "dln.h"
|
# include "dln.h"
|
||||||
|
|
||||||
void
|
void
|
||||||
ruby_external_gc_init()
|
ruby_external_gc_init(void)
|
||||||
{
|
{
|
||||||
char *gc_so_path = getenv("RUBY_GC_LIBRARY_PATH");
|
char *gc_so_path = getenv("RUBY_GC_LIBRARY_PATH");
|
||||||
void *handle = NULL;
|
void *handle = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user