From 2f0b1874ad89716a2e31a5e5bd01d1ac2edbd813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Mon, 7 Oct 2024 21:07:55 +0200 Subject: [PATCH] [rubygems/rubygems] Fix warnings about old C style https://github.com/rubygems/rubygems/commit/f40610b699 --- spec/bundler/support/builders.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/bundler/support/builders.rb b/spec/bundler/support/builders.rb index a187d2ae48..4d713d8708 100644 --- a/spec/bundler/support/builders.rb +++ b/spec/bundler/support/builders.rb @@ -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