From 60f545e2ac740677ceab64cf897acb09bbd48caf Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 13 Sep 2009 05:09:15 +0000 Subject: [PATCH] * thread.c (thread_list_access): prototyped. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 ++++--- thread.c | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4f38e3ca33..e5950539fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,9 @@ Sun Sep 13 13:38:00 2009 Marc-Andre Lafortune - * thread.c (recursive_*): refactored the access to the inspect table used by - rb_exec_recursive_*. The functions recursive_push, pop and check now assume - a valid hash table as their first argument. Added documentation. + * thread.c (recursive_*): refactored the access to the inspect + table used by rb_exec_recursive_*. The functions recursive_push, + pop and check now assume a valid hash table as their first + argument. Added documentation. Sun Sep 13 12:07:49 2009 Nobuyoshi Nakada diff --git a/thread.c b/thread.c index 45a0a80c56..5943cecdc0 100644 --- a/thread.c +++ b/thread.c @@ -3386,7 +3386,8 @@ static ID recursive_key; */ static VALUE -recursive_list_access() { +recursive_list_access(void) +{ volatile VALUE hash = rb_thread_local_aref(rb_thread_current(), recursive_key); VALUE sym = ID2SYM(rb_frame_this_func()); VALUE list;