Skip to content

Commit 7cbf03d

Browse files
committed
Remove unnecessary declaration
Fix #12
1 parent c989bac commit 7cbf03d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ext/etc/extconf.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,7 @@
4747
%x[#{RbConfig.ruby} #{srcdir}/mkconstants.rb -o #{srcdir}/constdefs.h]
4848
end
4949

50-
decl = [
51-
"void rb_deprecate_constant(VALUE, const char *);",
52-
]
53-
have_func('rb_deprecate_constant(Qnil, "None")', [decl])
50+
have_func('rb_deprecate_constant(Qnil, "None")')
5451

5552
$distcleanfiles << "constdefs.h"
5653

0 commit comments

Comments
 (0)