From 15d26c3fd9a95f6fa14bc4faae7e1b8e9a07e2b3 Mon Sep 17 00:00:00 2001 From: nari Date: Thu, 6 Jun 2013 05:10:31 +0000 Subject: * 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 --- ChangeLog | 5 +++++ ext/objspace/object_tracing.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * ext/objspace/object_tracing.c: allocation_info function isn't + called by any other file. + Thu Jun 6 09:41:00 2013 Kenta Murata * 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) { -- cgit v1.2.3