From f40727f4aa32dd89cffc0474c7b8dac367e6b308 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Mon, 4 Dec 2023 09:58:41 -0500 Subject: [PATCH] Make rb_obj_copy_ivs_to_hash_table_i static --- variable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variable.c b/variable.c index 26a9782458..e4b366631c 100644 --- a/variable.c +++ b/variable.c @@ -1657,7 +1657,7 @@ rb_ensure_iv_list_size(VALUE obj, uint32_t current_capacity, uint32_t new_capaci } } -int +static int rb_obj_copy_ivs_to_hash_table_i(ID key, VALUE val, st_data_t arg) { RUBY_ASSERT(!st_lookup((st_table *)arg, (st_data_t)key, NULL));