diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-04 17:58:53 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-04 17:58:53 +0000 |
commit | 0b5b776ce9829a54dc167ee4cfb18ff94879e74d (patch) | |
tree | 4ccead96bd59f17514816b80734a79d949bc2be7 | |
parent | 91f1071020b014465e2f63db732382f85c85b19f (diff) | |
download | ruby-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-- | ChangeLog | 5 | ||||
-rw-r--r-- | vm.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -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. @@ -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) |