From 8caf81f1eafc07c14ec8ed006e07c362965ed32f Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 1 Oct 2003 18:26:11 +0000 Subject: [PATCH] * eval.c (rb_thread_raise): prototype; avoid VC++ warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ eval.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * eval.c (rb_thread_raise): prototype; avoid VC++ warning. + Thu Oct 2 01:32:46 2003 Yukihiro Matsumoto * 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];