ruby-changes:19880
From: kosaki <ko1@a...>
Date: Sun, 5 Jun 2011 23:35:17 +0900 (JST)
Subject: [ruby-changes:19880] kosaki:r31927 (trunk): * eval.c: remove rb_thread_stop_timer_thread function declaration.
kosaki 2011-06-05 23:35:09 +0900 (Sun, 05 Jun 2011) New Revision: 31927 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31927 Log: * eval.c: remove rb_thread_stop_timer_thread function declaration. Instead, include vm_core.h. * process.c: ditto. Modified files: trunk/ChangeLog trunk/eval.c trunk/process.c Index: ChangeLog =================================================================== --- ChangeLog (revision 31926) +++ ChangeLog (revision 31927) @@ -1,3 +1,9 @@ +Sun Jun 5 23:26:15 2011 KOSAKI Motohiro <kosaki.motohiro@g...> + + * eval.c: remove rb_thread_stop_timer_thread function declaration. + Instead, include vm_core.h. + * process.c: ditto. + Sun Jun 5 21:38:51 2011 KOSAKI Motohiro <kosaki.motohiro@g...> * thread_pthread.c (thread_timer): add to care a spurious wakeup. Index: eval.c =================================================================== --- eval.c (revision 31926) +++ eval.c (revision 31927) @@ -16,6 +16,7 @@ #include "gc.h" #include "ruby/vm.h" #include "ruby/encoding.h" +#include "vm_core.h" #define numberof(array) (int)(sizeof(array) / sizeof((array)[0])) @@ -35,7 +36,6 @@ /* initialize ruby */ void rb_clear_trace_func(void); -void rb_thread_stop_timer_thread(void); void rb_call_inits(void); void Init_heap(void); @@ -118,8 +118,6 @@ ruby_finalize_1(); } -void rb_thread_stop_timer_thread(void); - int ruby_cleanup(volatile int ex) { Index: process.c =================================================================== --- process.c (revision 31926) +++ process.c (revision 31927) @@ -978,10 +978,6 @@ char *strtok(); #endif -void rb_thread_stop_timer_thread(void); -void rb_thread_start_timer_thread(void); -void rb_thread_reset_timer_thread(void); - static int forked_child = 0; #ifdef SIGPIPE -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/