aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-05 14:35:09 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-05 14:35:09 +0000
commitecaf7975cdca4cca1d93c822091747dbd3900101 (patch)
tree393c5f853a9244e6b189c937a28027676664eafa
parent4010bc1e84e4ddc563926072686c2fcb894f0e0a (diff)
downloadruby-ecaf7975cdca4cca1d93c822091747dbd3900101.tar.gz
* 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
-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