summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index b9641763da..34d90871d7 100644
--- a/iseq.c
+++ b/iseq.c
@@ -559,6 +559,7 @@ iseq_inspect(VALUE self)
RSTRING_PTR(iseq->name), RSTRING_PTR(iseq->filename));
}
+static
VALUE iseq_data_to_ary(rb_iseq_t *iseq);
static VALUE
@@ -980,7 +981,7 @@ cdhash_each(VALUE key, VALUE value, VALUE ary)
return ST_CONTINUE;
}
-VALUE
+static VALUE
iseq_data_to_ary(rb_iseq_t *iseq)
{
int i, pos, line = 0;