summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--iseq.c3
-rw-r--r--thread.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 64a20e3b23..950761a83e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Fri Sep 5 03:09:48 2008 Koichi Sasada <ko1@atdot.net>
+
+ * iseq.c (iseq_data_to_ary): make it static.
+
+ * thread.c (thgroup_enclose): ditto.
+
Fri Sep 5 02:56:37 2008 Koichi Sasada <ko1@atdot.net>
* vm.c (thread_recycle_stack_slot, thread_recycle_stack_count):
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;
diff --git a/thread.c b/thread.c
index ae0daa5d50..2f02cc3ca0 100644
--- a/thread.c
+++ b/thread.c
@@ -2464,7 +2464,7 @@ thgroup_list(VALUE group)
* ThreadError: can't move from the enclosed thread group
*/
-VALUE
+static VALUE
thgroup_enclose(VALUE group)
{
struct thgroup *data;