summaryrefslogtreecommitdiff
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
commitd79891c2ef4714fea954507d03745a9ee288c696 (patch)
tree7a76ce84ee2ed9e03edcbe9e9d6cb0b65dba0103
parent0587f3011be6a4a94a0f32d5ad50fae668d4ace6 (diff)
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
-rw-r--r--ChangeLog4
-rw-r--r--thread.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 163ec20457..2ba77afa47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Nov 7 11:40:05 2015 Eric Wong <e@80x24.org>
+
+ * thread.c (rb_cThreadShield): make static
+
Sat Nov 7 09:51:38 2015 Koichi Sasada <ko1@atdot.net>
* vm_trace.c (rb_threadptr_exec_event_hooks_orig):
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;