summaryrefslogtreecommitdiff
path: root/thread_none.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_none.c')
-rw-r--r--thread_none.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/thread_none.c b/thread_none.c
index fb7b9f9a97..18986d3c5b 100644
--- a/thread_none.c
+++ b/thread_none.c
@@ -126,11 +126,11 @@ ruby_thread_set_native(rb_thread_t *th)
}
void
-Init_native_thread(rb_thread_t *th)
+Init_native_thread(rb_thread_t *main_th)
{
// no TLS setup and no thread id setup
- ruby_thread_set_native(th);
- fill_thread_id_str(th);
+ ruby_thread_set_native(main_th);
+ fill_thread_id_str(main_th);
}
static void