diff --git a/ChangeLog b/ChangeLog index 991997e454..88f42bdd17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Dec 5 06:03:54 2015 Eric Wong + + * vm.c (ruby_vm_verbose_ptr): make static + (ruby_vm_debug_ptr): ditto + Sat Dec 5 00:56:29 2015 Naohisa Goto * include/ruby/ruby.h (RB_OBJ_TAINT): follow-up of r52881. 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;