summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--eval.c4
-rw-r--r--process.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 97db5897ad..b68fc895da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/eval.c b/eval.c
index 5831ca251d..73b0a243f7 100644
--- a/eval.c
+++ b/eval.c
@@ -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)
{
diff --git a/process.c b/process.c
index e89d82413a..d2592f55be 100644
--- a/process.c
+++ b/process.c
@@ -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