aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-08 15:07:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-08 15:07:41 +0000
commitbb4d72c51f9c7233c2d3b54c4fc1359557f3482d (patch)
tree2b4f0884dfe9dc59181e87e173bba0b888c30e7b /iseq.c
parentbd7e04e4d75512fd98a4084ec6f706d643e49fe6 (diff)
downloadruby-bb4d72c51f9c7233c2d3b54c4fc1359557f3482d.tar.gz
make local symbols static
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iseq.c b/iseq.c
index 1fd4009a03..6376934b4e 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1021,7 +1021,7 @@ iseqw_absolute_path(VALUE self)
* > iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb')
* > iseq.label #=> <main>
*/
-VALUE
+static VALUE
iseqw_label(VALUE self)
{
return rb_iseq_label(iseqw_check(self));
@@ -1063,7 +1063,7 @@ iseqw_base_label(VALUE self)
* iseq.first_lineno
* #=> 1
*/
-VALUE
+static VALUE
iseqw_first_lineno(VALUE self)
{
return rb_iseq_first_lineno(iseqw_check(self));