The rb_heap_block struct doesn't appear to be used anywhere

This commit is contained in:
jailbird777 2021-06-01 22:46:42 -05:00 committed by Doug Freed
parent 40ae4dee6c
commit 3175172d52

View file

@ -61,16 +61,6 @@ static void _rb_bh_fail(const char *reason, const char *file, int line) __attrib
static uintptr_t offset_pad; static uintptr_t offset_pad;
/* status information for an allocated block in heap */
struct rb_heap_block
{
size_t alloc_size;
rb_dlink_node node;
unsigned long free_count;
void *elems; /* Points to allocated memory */
};
typedef struct rb_heap_block rb_heap_block;
/* information for the root node of the heap */ /* information for the root node of the heap */
struct rb_bh struct rb_bh
{ {