Adjust styles [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2023-03-08 14:02:46 +09:00
parent 677c3228d0
commit 00d6772e40
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6
3 changed files with 6 additions and 3 deletions

View File

@ -1804,7 +1804,8 @@ rb_ary_unshift_m(int argc, VALUE *argv, VALUE ary)
/* non-static for yjit */ /* non-static for yjit */
VALUE VALUE
rb_yjit_rb_ary_unshift_m(int argc, VALUE *argv, VALUE ary) { rb_yjit_rb_ary_unshift_m(int argc, VALUE *argv, VALUE ary)
{
return rb_ary_unshift_m(argc, argv, ary); return rb_ary_unshift_m(argc, argv, ary);
} }

View File

@ -408,7 +408,8 @@ struct cvc_table_copy_ctx {
}; };
static enum rb_id_table_iterator_result static enum rb_id_table_iterator_result
cvc_table_copy(ID id, VALUE val, void *data) { cvc_table_copy(ID id, VALUE val, void *data)
{
struct cvc_table_copy_ctx *ctx = (struct cvc_table_copy_ctx *)data; struct cvc_table_copy_ctx *ctx = (struct cvc_table_copy_ctx *)data;
struct rb_cvar_class_tbl_entry * orig_entry; struct rb_cvar_class_tbl_entry * orig_entry;
orig_entry = (struct rb_cvar_class_tbl_entry *)val; orig_entry = (struct rb_cvar_class_tbl_entry *)val;

3
gc.c
View File

@ -13593,7 +13593,8 @@ wkmap_has_key(VALUE self, VALUE key)
* Removes all map entries; returns +self+. * Removes all map entries; returns +self+.
*/ */
static VALUE static VALUE
wkmap_clear(VALUE self) { wkmap_clear(VALUE self)
{
struct weakkeymap *w; struct weakkeymap *w;
TypedData_Get_Struct(self, struct weakkeymap, &weakkeymap_type, w); TypedData_Get_Struct(self, struct weakkeymap, &weakkeymap_type, w);
if (w->map) { if (w->map) {