aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
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;