Browse Source

The rb_heap_block struct doesn't appear to be used anywhere

jess/sno-banned-userhost
jailbird777 2 years ago committed by Doug Freed
parent
commit
3175172d52
  1. 10
      librb/src/balloc.c

10
librb/src/balloc.c

@ -61,16 +61,6 @@ static void _rb_bh_fail(const char *reason, const char *file, int line) __attrib
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 */
struct rb_bh
{

Loading…
Cancel
Save