make a func static.

* vm_eval.c (rb_f_public_send): make it static.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2017-11-16 07:47:33 +00:00
parent 8184cb2bc7
commit 1a7af9d0cd
1 changed files with 1 additions and 1 deletions

View File

@ -956,7 +956,7 @@ rb_f_send(int argc, VALUE *argv, VALUE recv)
* 1.public_send(:puts, "hello") # causes NoMethodError
*/
VALUE
static VALUE
rb_f_public_send(int argc, VALUE *argv, VALUE recv)
{
return send_internal(argc, argv, recv, CALL_PUBLIC);