diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-10-19 00:29:57 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-10-19 17:25:40 +0900 |
commit | ae25313e80fcd71ea58721ab5ec50f84701862eb (patch) | |
tree | b477e37bb03d346e8ce970114d4de96235706b24 /ext | |
parent | 8d6dbecc80d998c0d801c42aa38c5713e8b53572 (diff) |
[ruby/etc] Remove unnecessary declaration
Fix https://github.com/ruby/etc/pull/12
https://github.com/ruby/etc/commit/7cbf03d22d
Diffstat (limited to 'ext')
-rw-r--r-- | ext/etc/extconf.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/etc/extconf.rb b/ext/etc/extconf.rb index b6ae7700da..6e7810a5e8 100644 --- a/ext/etc/extconf.rb +++ b/ext/etc/extconf.rb @@ -47,10 +47,7 @@ if !File.exist?("#{srcdir}/depend") %x[#{RbConfig.ruby} #{srcdir}/mkconstants.rb -o #{srcdir}/constdefs.h] end -decl = [ - "void rb_deprecate_constant(VALUE, const char *);", -] -have_func('rb_deprecate_constant(Qnil, "None")', [decl]) +have_func('rb_deprecate_constant(Qnil, "None")') $distcleanfiles << "constdefs.h" |