mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
003fd99ab3
commit
686e54f705
1 changed files with 3 additions and 3 deletions
6
vm.c
6
vm.c
|
@ -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_release(rb_thread_t *th);
|
||||
|
||||
void
|
||||
rb_thread_mark(void *ptr)
|
||||
static void
|
||||
thread_mark(void *ptr)
|
||||
{
|
||||
rb_thread_t *th = ptr;
|
||||
RUBY_MARK_ENTER("thread");
|
||||
|
@ -2443,7 +2443,7 @@ thread_memsize(const void *ptr)
|
|||
const rb_data_type_t ruby_threadptr_data_type = {
|
||||
"VM/thread",
|
||||
{
|
||||
rb_thread_mark,
|
||||
thread_mark,
|
||||
thread_free,
|
||||
thread_memsize,
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue