diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-28 21:52:15 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-28 21:52:15 +0000 |
commit | 5ad289b13375e4dcceb2732a76b1c566f8f7f00b (patch) | |
tree | 36f97d80088263917883e9179b1dc1600864eb9e | |
parent | a3b53cd9919ff01567ef04af4057b3dec3192471 (diff) |
thread_sync.c: static classes
We do not want to waste space by exposing globals to other
objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | thread_sync.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Tue Dec 29 06:50:42 2015 Eric Wong <e@80x24.org> + + * thread_sync.c: static classes + Tue Dec 29 05:30:30 2015 Eric Wong <e@80x24.org> * lib/resolv.rb (Resolv::IPv6.create): avoid modifying frozen diff --git a/thread_sync.c b/thread_sync.c index 091246a7ad..9c73654b0f 100644 --- a/thread_sync.c +++ b/thread_sync.c @@ -1,7 +1,7 @@ /* included by thread.c */ -VALUE rb_cMutex, rb_cQueue, rb_cSizedQueue, rb_cConditionVariable; -VALUE rb_eClosedQueueError; +static VALUE rb_cMutex, rb_cQueue, rb_cSizedQueue, rb_cConditionVariable; +static VALUE rb_eClosedQueueError; /* Mutex */ |