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

ruby-changes:7625

From: ko1 <ko1@a...>
Date: Fri, 5 Sep 2008 03:27:20 +0900 (JST)
Subject: [ruby-changes:7625] Ruby:r19146 (trunk): * iseq.c (iseq_data_to_ary): make it static.

ko1	2008-09-05 03:23:27 +0900 (Fri, 05 Sep 2008)

  New Revision: 19146

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19146

  Log:
    * iseq.c (iseq_data_to_ary): make it static.
    * thread.c (thgroup_enclose): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/iseq.c
    trunk/thread.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 19145)
+++ ChangeLog	(revision 19146)
@@ -1,3 +1,9 @@
+Fri Sep  5 03:09:48 2008  Koichi Sasada  <ko1@a...>
+
+	* iseq.c (iseq_data_to_ary): make it static.
+
+	* thread.c (thgroup_enclose): ditto.
+
 Fri Sep  5 02:56:37 2008  Koichi Sasada  <ko1@a...>
 
 	* vm.c (thread_recycle_stack_slot, thread_recycle_stack_count): 
Index: iseq.c
===================================================================
--- iseq.c	(revision 19145)
+++ iseq.c	(revision 19146)
@@ -559,6 +559,7 @@
 		      RSTRING_PTR(iseq->name), RSTRING_PTR(iseq->filename));
 }
 
+static
 VALUE iseq_data_to_ary(rb_iseq_t *iseq);
 
 static VALUE
@@ -980,7 +981,7 @@
     return ST_CONTINUE;
 }
 
-VALUE
+static VALUE
 iseq_data_to_ary(rb_iseq_t *iseq)
 {
     int i, pos, line = 0;
Index: thread.c
===================================================================
--- thread.c	(revision 19145)
+++ thread.c	(revision 19146)
@@ -2464,7 +2464,7 @@
  *     ThreadError: can't move from the enclosed thread group
  */
 
-VALUE
+static VALUE
 thgroup_enclose(VALUE group)
 {
     struct thgroup *data;

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

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