From 32024dac48ec640bc2e51142eda2c48f7a6a8516 Mon Sep 17 00:00:00 2001 From: normal Date: Fri, 30 Oct 2015 01:40:28 +0000 Subject: variable.c (rb_st_insert_id_and_value): reduce args Minor simplification; this will hopefully make future patches for switching to id_table easier-to-review. * internal.h (rb_st_insert_id_and_value): update prototype * variable.c (rb_st_insert_id_and_value): reduce args (find_class_path): adjust call for less args (rb_ivar_set): ditto (rb_cvar_set): ditto * class.c (rb_singleton_class_attached): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal.h') diff --git a/internal.h b/internal.h index a5ac89fbe9..790f472763 100644 --- a/internal.h +++ b/internal.h @@ -1318,7 +1318,7 @@ void rb_gc_mark_global_tbl(void); void rb_mark_generic_ivar(VALUE); VALUE rb_const_missing(VALUE klass, VALUE name); -int rb_st_insert_id_and_value(VALUE obj, st_table *tbl, ID key, VALUE value); +int rb_st_insert_id_and_value(VALUE obj, ID key, VALUE value); st_table *rb_st_copy(VALUE obj, struct st_table *orig_tbl); /* gc.c (export) */ -- cgit v1.2.3