Remove unneeded function prototype

Function prototype for gc_mode_transition is not needed as it's not
used before the implementation.
This commit is contained in:
Peter Zhu 2023-08-03 11:12:07 -04:00
parent aeff31168a
commit c65856d44f

2
gc.c
View File

@ -5412,8 +5412,6 @@ check_stack_for_moved(rb_objspace_t *objspace)
each_machine_stack_value(ec, revert_machine_stack_references);
}
static void gc_mode_transition(rb_objspace_t *objspace, enum gc_mode mode);
static void
gc_compact_finish(rb_objspace_t *objspace)
{