summaryrefslogtreecommitdiff
path: root/vm_eval.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-16 07:47:33 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-16 07:47:33 +0000
commit1a7af9d0cdceb061255434f9cf321a695a67b02d (patch)
treee9879d2ce1c375c249f9c27794ec0a7a21e9f7c9 /vm_eval.c
parent8184cb2bc7caea30a86a9a0a1217680569e17676 (diff)
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
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_eval.c b/vm_eval.c
index 9508a80..644948e 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -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);