summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-10 08:21:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-10 08:21:02 +0000
commitf228a4b20949997c139cbb33434099bd71b81578 (patch)
tree8f45c921b020c4505ee0adf7cddb4bede129e6d6 /thread.c
parent91987f6b047afba7ffe4852539a15c214bdf56ba (diff)
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
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
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: