From 5ad289b13375e4dcceb2732a76b1c566f8f7f00b Mon Sep 17 00:00:00 2001 From: normal Date: Mon, 28 Dec 2015 21:52:15 +0000 Subject: [PATCH] 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 --- ChangeLog | 4 ++++ thread_sync.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f41b3ebeaa..5615c44c5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Dec 29 06:50:42 2015 Eric Wong + + * thread_sync.c: static classes + Tue Dec 29 05:30:30 2015 Eric Wong * 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 */