From f40d2c967005e49914046bbc6a7a8c06c46b1d38 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 5 Jun 2010 23:26:43 +0000 Subject: * vm.c (Init_BareVM): call Init_native_thread here. * thread.c (Init_Thread): don't call Init_native_thread. * thread_pthread.c (Init_native_thread): exported. * thread_win32.c (Init_native_thread): ditto. [ruby-dev:41536] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread_win32.c') diff --git a/thread_win32.c b/thread_win32.c index ec5a4e8769..1391bece54 100644 --- a/thread_win32.c +++ b/thread_win32.c @@ -44,7 +44,7 @@ ruby_thread_set_native(rb_thread_t *th) return TlsSetValue(ruby_native_thread_key, th); } -static void +void Init_native_thread(void) { rb_thread_t *th = GET_THREAD(); -- cgit v1.2.3