summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--vm.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 85a4344f8f..64a20e3b23 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 466afe7c7b..b39db29de9 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)