From c65856d44f91cbcf8fd8172c609b96f936938070 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Thu, 3 Aug 2023 11:12:07 -0400 Subject: [PATCH] Remove unneeded function prototype Function prototype for gc_mode_transition is not needed as it's not used before the implementation. --- gc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gc.c b/gc.c index c19b77b33e..0b5f792839 100644 --- a/gc.c +++ b/gc.c @@ -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) {