1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove unneeded function declarations in gc.c

This commit is contained in:
Peter Zhu 2022-03-28 10:02:45 -04:00
parent 035b75c8f4
commit ae650f0372

4
gc.c
View file

@ -2370,10 +2370,6 @@ newobj_init(VALUE klass, VALUE flags, int wb_protected, rb_objspace_t *objspace,
return obj;
}
static inline void heap_add_freepage(rb_heap_t *heap, struct heap_page *page);
static struct heap_page *heap_next_freepage(rb_objspace_t *objspace, rb_size_pool_t *size_pool, rb_heap_t *heap);
static inline void ractor_set_cache(rb_ractor_t *cr, struct heap_page *page, size_t size_pool_idx);
size_t
rb_gc_obj_slot_size(VALUE obj)
{