summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-04 17:58:53 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-04 17:58:53 +0000
commit0b5b776ce9829a54dc167ee4cfb18ff94879e74d (patch)
tree4ccead96bd59f17514816b80734a79d949bc2be7
parent91f1071020b014465e2f63db732382f85c85b19f (diff)
downloadruby-0b5b776ce9829a54dc167ee4cfb18ff94879e74d.tar.gz
ruby-0b5b776ce9829a54dc167ee4cfb18ff94879e74d.tar.xz
ruby-0b5b776ce9829a54dc167ee4cfb18ff94879e74d.zip
* vm.c (thread_recycle_stack_slot, thread_recycle_stack_count):
make it static. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--vm.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 85a4344f8..64a20e3b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Sep 5 02:56:37 2008 Koichi Sasada <ko1@atdot.net>
+
+ * vm.c (thread_recycle_stack_slot, thread_recycle_stack_count):
+ make it static.
+
Fri Sep 5 02:40:38 2008 Koichi Sasada <ko1@atdot.net>
* thread.c (rb_thread_critical): removed.
diff --git a/vm.c b/vm.c
index 466afe7c7..b39db29de 100644
--- a/vm.c
+++ b/vm.c
@@ -1431,8 +1431,8 @@ vm_init2(rb_vm_t *vm)
#if USE_THREAD_DATA_RECYCLE
#define RECYCLE_MAX 64
-VALUE *thread_recycle_stack_slot[RECYCLE_MAX];
-int thread_recycle_stack_count = 0;
+static VALUE *thread_recycle_stack_slot[RECYCLE_MAX];
+static int thread_recycle_stack_count = 0;
static VALUE *
thread_recycle_stack(int size)