aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-07 02:40:33 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-07 02:40:33 +0000
commitc62d780984b5750fe75d6ce6da1818e0efcb5668 (patch)
tree7a76ce84ee2ed9e03edcbe9e9d6cb0b65dba0103 /thread.c
parentf413ca2b8b675232023c43570df35d0f2a04058d (diff)
downloadruby-c62d780984b5750fe75d6ce6da1818e0efcb5668.tar.gz
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
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 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;