diff options
author | Jason Evans <jasone@canonware.com> | 2015-02-03 20:39:55 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2015-02-05 00:50:04 (GMT) |
commit | f8723572d8b3418f145fc1d5466cca6b8e2530ef (patch) | |
tree | 0719e97e105c0e48ac4101816e3a52a5240130aa /include/jemalloc | |
parent | b0808d5f635592cf7b9c487efbf26f13dc60b223 (diff) | |
download | jemalloc-f8723572d8b3418f145fc1d5466cca6b8e2530ef.zip jemalloc-f8723572d8b3418f145fc1d5466cca6b8e2530ef.tar.gz jemalloc-f8723572d8b3418f145fc1d5466cca6b8e2530ef.tar.bz2 |
Add missing prototypes for bootstrap_{malloc,calloc,free}().
Diffstat (limited to 'include/jemalloc')
-rw-r--r-- | include/jemalloc/internal/jemalloc_internal.h.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/jemalloc/internal/jemalloc_internal.h.in b/include/jemalloc/internal/jemalloc_internal.h.in index a477855..79a23e5 100644 --- a/include/jemalloc/internal/jemalloc_internal.h.in +++ b/include/jemalloc/internal/jemalloc_internal.h.in @@ -406,7 +406,9 @@ extern uint8_t const size2index_tab[]; arena_t *a0get(void); void *a0malloc(size_t size); 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 *arena_init(unsigned ind); unsigned narenas_total_get(void); |