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

ruby-changes:20119

From: kosaki <ko1@a...>
Date: Sat, 18 Jun 2011 21:33:07 +0900 (JST)
Subject: [ruby-changes:20119] kosaki:r32167 (trunk): * vm.c, vm_core.h (rb_vm_stack_to_heap): remove const.

kosaki	2011-06-18 21:32:57 +0900 (Sat, 18 Jun 2011)

  New Revision: 32167

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

  Log:
    * vm.c, vm_core.h (rb_vm_stack_to_heap): remove const.
      It makes compilations warnings.

  Modified files:
    trunk/ChangeLog
    trunk/vm.c
    trunk/vm_core.h

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 32166)
+++ ChangeLog	(revision 32167)
@@ -1,3 +1,8 @@
+Sat Jun 18 21:32:02 2011  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* vm.c, vm_core.h (rb_vm_stack_to_heap): remove const.
+	  It makes compilations warnings.
+
 Sat Jun 18 18:54:15 2011  Koichi Sasada  <ko1@a...>
 
 	* vm.c, vm_core.h (rb_vm_stack_to_heap): fix "const" place.
Index: vm_core.h
===================================================================
--- vm_core.h	(revision 32166)
+++ vm_core.h	(revision 32167)
@@ -660,7 +660,7 @@
 rb_control_frame_t *rb_vm_get_ruby_level_next_cfp(rb_thread_t *th, rb_control_frame_t *cfp);
 int rb_vm_get_sourceline(const rb_control_frame_t *);
 VALUE rb_name_err_mesg_new(VALUE obj, VALUE mesg, VALUE recv, VALUE method);
-void rb_vm_stack_to_heap(const rb_thread_t *th);
+void rb_vm_stack_to_heap(rb_thread_t *th);
 void ruby_thread_init_stack(rb_thread_t *th);
 
 NOINLINE(void rb_gc_save_machine_context(rb_thread_t *));
Index: vm.c
===================================================================
--- vm.c	(revision 32166)
+++ vm.c	(revision 32167)
@@ -478,7 +478,7 @@
 }
 
 void
-rb_vm_stack_to_heap(const rb_thread_t *th)
+rb_vm_stack_to_heap(rb_thread_t *th)
 {
     rb_control_frame_t *cfp = th->cfp;
     while ((cfp = rb_vm_get_ruby_level_next_cfp(th, cfp)) != 0) {

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

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