diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2024-04-26 14:10:09 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2024-04-26 16:58:20 -0400 |
| commit | 41e17f562453d8711bc64801075e45373ebb3676 (patch) | |
| tree | 02c63f9123a74533c614c8b12b20bf601f728ae8 | |
| parent | ab228bd0844758a1c444e39030c153874adf9120 (diff) | |
Fix compiler warning for ruby_external_gc_init
Fixes:
warning: old-style function definition [-Wold-style-definition]
| -rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1888,7 +1888,7 @@ static void *rb_gc_impl_objspace_alloc(void); # include "dln.h" void -ruby_external_gc_init() +ruby_external_gc_init(void) { char *gc_so_path = getenv("RUBY_GC_LIBRARY_PATH"); void *handle = NULL; |
