Add missing prototypes for bootstrap_{malloc,calloc,free}().

This commit is contained in:
Jason Evans 2015-02-03 12:39:55 -08:00
parent b0808d5f63
commit f8723572d8

View File

@ -406,7 +406,9 @@ extern uint8_t const size2index_tab[];
arena_t *a0get(void); arena_t *a0get(void);
void *a0malloc(size_t size); void *a0malloc(size_t size);
void a0dalloc(void *ptr); void a0dalloc(void *ptr);
size_t a0allocated(void); void *bootstrap_malloc(size_t size);
void *bootstrap_calloc(size_t num, size_t size);
void bootstrap_free(void *ptr);
arena_t *arenas_extend(unsigned ind); arena_t *arenas_extend(unsigned ind);
arena_t *arena_init(unsigned ind); arena_t *arena_init(unsigned ind);
unsigned narenas_total_get(void); unsigned narenas_total_get(void);