summaryrefslogtreecommitdiff
path: root/ext/objspace
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 /ext/objspace
parent68abc248f03ec17d56ddeaafff1f9ba02a9eef33 (diff)
* 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
Diffstat (limited to 'ext/objspace')
-rw-r--r--ext/objspace/object_tracing.c2
1 files changed, 1 insertions, 1 deletions
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) {