[前][次][番号順一覧][スレッド一覧]

ruby-changes:48681

From: ko1 <ko1@a...>
Date: Thu, 16 Nov 2017 16:28:21 +0900 (JST)
Subject: [ruby-changes:48681] ko1:r60797 (trunk): make it static.

ko1	2017-11-16 16:28:16 +0900 (Thu, 16 Nov 2017)

  New Revision: 60797

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60797

  Log:
    make it static.
    
    * vm.c (rb_thread_mark): now file local.

  Modified files:
    trunk/vm.c
Index: vm.c
===================================================================
--- vm.c	(revision 60796)
+++ vm.c	(revision 60797)
@@ -2368,8 +2368,8 @@ void rb_fiber_mark_self(rb_fiber_t *fib) https://github.com/ruby/ruby/blob/trunk/vm.c#L2368
 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) https://github.com/ruby/ruby/blob/trunk/vm.c#L2443
 const rb_data_type_t ruby_threadptr_data_type = {
     "VM/thread",
     {
-	rb_thread_mark,
+	thread_mark,
 	thread_free,
 	thread_memsize,
     },

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]