[rubygems/rubygems] Fix warnings about old C style
https://github.com/rubygems/rubygems/commit/f40610b699
This commit is contained in:
parent
a1492ffdc2
commit
2f0b1874ad
@ -497,7 +497,7 @@ module Spec
|
|||||||
write "ext/#{name}.c", <<-C
|
write "ext/#{name}.c", <<-C
|
||||||
#include "ruby.h"
|
#include "ruby.h"
|
||||||
|
|
||||||
void Init_#{name}_c() {
|
void Init_#{name}_c(void) {
|
||||||
rb_define_module("#{Builders.constantize(name)}_IN_C");
|
rb_define_module("#{Builders.constantize(name)}_IN_C");
|
||||||
}
|
}
|
||||||
C
|
C
|
||||||
|
Loading…
x
Reference in New Issue
Block a user