[rubygems/rubygems] Fix warnings about old C style

https://github.com/rubygems/rubygems/commit/f40610b699
This commit is contained in:
David Rodríguez 2024-10-07 21:07:55 +02:00 committed by git
parent a1492ffdc2
commit 2f0b1874ad

View File

@ -497,7 +497,7 @@ module Spec
write "ext/#{name}.c", <<-C
#include "ruby.h"
void Init_#{name}_c() {
void Init_#{name}_c(void) {
rb_define_module("#{Builders.constantize(name)}_IN_C");
}
C