Skip to content

Commit

Permalink
fix: address old-style-definition build error
Browse files Browse the repository at this point in the history
  • Loading branch information
dmke committed Apr 29, 2024
1 parent 13a5dc4 commit f16c93e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/visibility_monitor_c/ext.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f16c93e

Please sign in to comment.