summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-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) {