aboutsummaryrefslogtreecommitdiffstats
path: root/vm.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-04 21:08:47 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-04 21:08:47 +0000
commit6ad240f0d0f2f76f961c7d7ec63f1c18b9638837 (patch)
treecacfb23ceb7cd02c223a8843ab2ff7dee7e2b0bb /vm.c
parentaae2193a1e0eaee61c941159ba54a0123ed41c5e (diff)
downloadruby-6ad240f0d0f2f76f961c7d7ec63f1c18b9638837.tar.gz
vm.c: make ruby_vm_*_ptr static
No point in wasting space until we get MVM (if ever). * vm.c (ruby_vm_verbose_ptr): make static (ruby_vm_debug_ptr): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm.c b/vm.c
index de8be50e72..71e9eacaf1 100644
--- a/vm.c
+++ b/vm.c
@@ -2989,13 +2989,13 @@ Init_top_self(void)
rb_define_alias(rb_singleton_class(rb_vm_top_self()), "inspect", "to_s");
}
-VALUE *
+static VALUE *
ruby_vm_verbose_ptr(rb_vm_t *vm)
{
return &vm->verbose;
}
-VALUE *
+static VALUE *
ruby_vm_debug_ptr(rb_vm_t *vm)
{
return &vm->debug;