aboutsummaryrefslogtreecommitdiffstats
path: root/thread_pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 285852baa9..c2a555aa6c 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -163,7 +163,7 @@ ruby_thread_set_native(rb_thread_t *th)
return pthread_setspecific(ruby_native_thread_key, th) == 0;
}
-static void
+void
Init_native_thread(void)
{
rb_thread_t *th = GET_THREAD();