1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/etc] Remove unnecessary declaration

Fix https://github.com/ruby/etc/pull/12

https://github.com/ruby/etc/commit/7cbf03d22d
This commit is contained in:
Nobuyoshi Nakada 2021-10-19 00:29:57 +09:00
parent 8d6dbecc80
commit ae25313e80
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -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"