diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-04 21:08:47 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-04 21:08:47 +0000 |
commit | 1e2a4575748f2632a838d887db928a751e8956e4 (patch) | |
tree | cacfb23ceb7cd02c223a8843ab2ff7dee7e2b0bb | |
parent | a560f2a4ccae817feb9ba7790bd32cfc2b48680f (diff) |
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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | vm.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Sat Dec 5 06:03:54 2015 Eric Wong <[email protected]> + + * vm.c (ruby_vm_verbose_ptr): make static + (ruby_vm_debug_ptr): ditto + Sat Dec 5 00:56:29 2015 Naohisa Goto <[email protected]> * include/ruby/ruby.h (RB_OBJ_TAINT): follow-up of r52881. @@ -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; |