From d79891c2ef4714fea954507d03745a9ee288c696 Mon Sep 17 00:00:00 2001 From: normal Date: Sat, 7 Nov 2015 02:40:33 +0000 Subject: thread.c (rb_cThreadShield): make static Nothing outside of thread.c accesses this variable, so avoid cluttering up the global namespace with it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52478 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 dfbcfcb8ab..bed65517a0 100644 --- a/thread.c +++ b/thread.c @@ -75,7 +75,7 @@ #define THREAD_DEBUG 0 #endif -VALUE rb_cThreadShield; +static VALUE rb_cThreadShield; static VALUE sym_immediate; static VALUE sym_on_blocking; -- cgit v1.2.3