summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-26 06:26:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-26 06:26:08 +0000
commit0c86e8b70b277ab5179d13839b9496dce55f51df (patch)
treef75f518c85036fcf077835d58fed6ae709378bdb /gc.c
parentba7a870a8924fdd0fe1612ef4b74024ae0e3fe32 (diff)
* method.c (rb_method_entry_t): body.proc should be marked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 5067d8fe05..113e13d51b 100644
--- a/gc.c
+++ b/gc.c
@@ -1405,7 +1405,8 @@ mark_method_entry_i(ID key, const rb_method_entry_t *me, st_data_t data)
}
static void
-mark_m_tbl(rb_objspace_t *objspace, st_table *tbl, int lev) {
+mark_m_tbl(rb_objspace_t *objspace, st_table *tbl, int lev)
+{
struct mark_tbl_arg arg;
if (!tbl) return;
arg.objspace = objspace;