aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-06 05:10:31 +0000
committernari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-06 05:10:31 +0000
commit15d26c3fd9a95f6fa14bc4faae7e1b8e9a07e2b3 (patch)
treecd102e6a85dce4b6e504583b4122b9b8d83a8b04
parent68abc248f03ec17d56ddeaafff1f9ba02a9eef33 (diff)
downloadruby-15d26c3fd9a95f6fa14bc4faae7e1b8e9a07e2b3.tar.gz
* ext/objspace/object_tracing.c: allocation_info function isn't
called by any other file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--ext/objspace/object_tracing.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2cb53a1a1b..cca7038542 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jun 6 13:57:06 2013 Narihiro Nakamura <authornari@gmail.com>
+
+ * ext/objspace/object_tracing.c: allocation_info function isn't
+ called by any other file.
+
Thu Jun 6 09:41:00 2013 Kenta Murata <mrkn@cookpad.com>
* numeric.c (num_quo): should return a Float for a Float argument.
diff --git a/ext/objspace/object_tracing.c b/ext/objspace/object_tracing.c
index 88f6ecced9..2b98383105 100644
--- a/ext/objspace/object_tracing.c
+++ b/ext/objspace/object_tracing.c
@@ -163,7 +163,7 @@ trace_object_allocations(VALUE objspace)
return rb_ensure(rb_yield, Qnil, stop_trace_object_allocations, (VALUE)&arg);
}
-struct allocation_info *
+static struct allocation_info *
allocation_info(VALUE obj)
{
if (traceobj_arg) {