зеркало из https://github.com/github/ruby.git
Fix compiler warning for ruby_external_gc_init
Fixes: warning: old-style function definition [-Wold-style-definition]
This commit is contained in:
Родитель
ab228bd084
Коммит
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;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче