summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
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: