diff --git a/ext/mini_racer_loader/mini_racer_loader.c b/ext/mini_racer_loader/mini_racer_loader.c index 0516275d..cb9aa3f5 100644 --- a/ext/mini_racer_loader/mini_racer_loader.c +++ b/ext/mini_racer_loader/mini_racer_loader.c @@ -115,7 +115,7 @@ static void *_dln_load(const char *file) rb_raise(rb_eLoadError, "%s", error); } -__attribute__((visibility("default"))) void Init_mini_racer_loader() +__attribute__((visibility("default"))) void Init_mini_racer_loader(void) { VALUE mMiniRacer = rb_define_module("MiniRacer"); VALUE mLoader = rb_define_module_under(mMiniRacer, "Loader");