summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-13 05:09:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-13 05:09:15 +0000
commit60f545e2ac740677ceab64cf897acb09bbd48caf (patch)
treea2bd2840d497470dae5129ddb67658ff8a45521b /thread.c
parent8b0cb325f5185df80e6ef3a80683144e6e052380 (diff)
* thread.c (thread_list_access): prototyped.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c3
1 files changed, 2 insertions, 1 deletions
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;