* eval.c: remove rb_thread_stop_timer_thread function declaration.

Instead, include vm_core.h.
* process.c: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2011-06-05 14:35:09 +00:00
parent 4010bc1e84
commit ecaf7975cd
3 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,9 @@
Sun Jun 5 23:26:15 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* 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@gmail.com>
* thread_pthread.c (thread_timer): add to care a spurious wakeup.

4
eval.c
View File

@ -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 @@ VALUE rb_eSysStackError;
/* 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(void)
ruby_finalize_1();
}
void rb_thread_stop_timer_thread(void);
int
ruby_cleanup(volatile int ex)
{

View File

@ -978,10 +978,6 @@ proc_detach(VALUE obj, VALUE pid)
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