make it static.

* vm.c (rb_thread_mark): now file local.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2017-11-16 07:28:16 +00:00
parent 003fd99ab3
commit 686e54f705

6
vm.c
View File

@ -2368,8 +2368,8 @@ void rb_fiber_mark_self(rb_fiber_t *fib);
void rb_threadptr_root_fiber_setup(rb_thread_t *th); void rb_threadptr_root_fiber_setup(rb_thread_t *th);
void rb_threadptr_root_fiber_release(rb_thread_t *th); void rb_threadptr_root_fiber_release(rb_thread_t *th);
void static void
rb_thread_mark(void *ptr) thread_mark(void *ptr)
{ {
rb_thread_t *th = ptr; rb_thread_t *th = ptr;
RUBY_MARK_ENTER("thread"); RUBY_MARK_ENTER("thread");
@ -2443,7 +2443,7 @@ thread_memsize(const void *ptr)
const rb_data_type_t ruby_threadptr_data_type = { const rb_data_type_t ruby_threadptr_data_type = {
"VM/thread", "VM/thread",
{ {
rb_thread_mark, thread_mark,
thread_free, thread_free,
thread_memsize, thread_memsize,
}, },