From f16c93e588e902ef0c942fa648de34ce86b7c213 Mon Sep 17 00:00:00 2001 From: Dominik Menke Date: Mon, 29 Apr 2024 13:23:02 +0200 Subject: [PATCH] fix: address old-style-definition build error --- ext/visibility_monitor_c/ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/visibility_monitor_c/ext.c b/ext/visibility_monitor_c/ext.c index 3964e7b..7a95a87 100644 --- a/ext/visibility_monitor_c/ext.c +++ b/ext/visibility_monitor_c/ext.c @@ -36,7 +36,7 @@ static VALUE monitor_set_visibility_placeholder(VALUE mod, VALUE method_name, VA return Qnil; } -void Init_visibility_monitor_c() { +void Init_visibility_monitor_c(void) { VALUE mVisibilityMonitor = rb_define_module("VisibilityMonitor"); rb_define_method(mVisibilityMonitor, "public", monitor_public, -1);