aboutsummaryrefslogtreecommitdiffstats
path: root/variable.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-12-04 09:58:41 -0500
committerPeter Zhu <peter@peterzhu.ca>2023-12-04 09:58:41 -0500
commitf40727f4aa32dd89cffc0474c7b8dac367e6b308 (patch)
tree5ce5c873da8283e050122dba61b3d6917acd306e /variable.c
parent1227b6d9129d7e978b6bb659c9cb320d47a2aac1 (diff)
downloadruby-f40727f4aa32dd89cffc0474c7b8dac367e6b308.tar.gz
Make rb_obj_copy_ivs_to_hash_table_i static
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
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));