Remove unneeded prototype for objspace_available_slots

This commit is contained in:
Peter Zhu 2024-09-30 10:03:01 -04:00
parent 6c9b5c1615
commit 2a58092360
Notes: git 2024-09-30 16:59:03 +00:00

View File

@ -1683,9 +1683,6 @@ heap_page_add_freeobj(rb_objspace_t *objspace, struct heap_page *page, VALUE obj
gc_report(3, objspace, "heap_page_add_freeobj: add %p to freelist\n", (void *)obj);
}
static size_t
objspace_available_slots(rb_objspace_t *objspace);
static void
size_pool_allocatable_slots_expand(rb_objspace_t *objspace,
rb_size_pool_t *size_pool, size_t free_slots, size_t total_slots)