summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-05 14:41:41 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-05 14:41:41 +0000
commit5e9b9ff9cb1f7897eb08c1d4f22ae0e206340f49 (patch)
tree560ebdb5f50a90e9f87cab76cdfdcb5547345a74 /vm.c
parent437af4f46fdc54cd348779f65bc12d2c962f1b18 (diff)
* gc.c (rb_objspace_alloc): this function is needed only when
ENABLE_VM_OBJSPACE macro is defined. * vm.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm.c b/vm.c
index 7c859110f1..0194ea6750 100644
--- a/vm.c
+++ b/vm.c
@@ -1728,7 +1728,9 @@ Init_VM(void)
vm_init_redefined_flag();
}
+#if defined(ENABLE_VM_OBJSPACE) && ENABLE_VM_OBJSPACE
struct rb_objspace *rb_objspace_alloc(void);
+#endif
void
Init_BareVM(void)