From f228a4b20949997c139cbb33434099bd71b81578 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 10 Sep 2012 08:21:02 +0000 Subject: thread.c: static * thread.c (patrol_thread): should be static. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread.c') diff --git a/thread.c b/thread.c index 4c0bd7a3d4..8320ed29bd 100644 --- a/thread.c +++ b/thread.c @@ -3915,7 +3915,7 @@ lock_interrupt(void *ptr) * periodically. Multiple polling thread (i.e. concurrent deadlock check) * introduces new race conditions. [Bug #6278] [ruby-core:44275] */ -rb_thread_t *patrol_thread = NULL; +static const rb_thread_t *patrol_thread = NULL; /* * call-seq: -- cgit v1.2.3