aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--eval.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d58142fdbd..c375c80a35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Oct 2 03:25:01 2003 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * eval.c (rb_thread_raise): prototype; avoid VC++ warning.
+
Thu Oct 2 01:32:46 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_f_block_given_p): real required condition is
diff --git a/eval.c b/eval.c
index 7c9ede5cb6..7726edb9e8 100644
--- a/eval.c
+++ b/eval.c
@@ -8188,7 +8188,7 @@ rb_thread_check(data)
return (rb_thread_t)RDATA(data)->data;
}
-static VALUE rb_thread_raise _((int, VALUE*, rb_thread_t));
+static VALUE rb_thread_raise _((int, VALUE*, volatile rb_thread_t));
static int th_raise_argc;
static VALUE th_raise_argv[2];