diff options
Diffstat (limited to 'tinyalloc.h')
| -rw-r--r-- | tinyalloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyalloc.h b/tinyalloc.h index 628b4d8..c845eea 100644 --- a/tinyalloc.h +++ b/tinyalloc.h @@ -5,7 +5,7 @@ extern "C" { #include <stdbool.h> #include <stddef.h> -bool ta_init(const void *base, const void *limit, const size_t heap_blocks, const size_t split_thresh, const size_t alignment); +bool ta_init(void *base, const void *limit, const size_t heap_blocks, const size_t split_thresh, const size_t alignment); void *ta_alloc(size_t num); void *ta_realloc(void *ptr, size_t n); void *ta_calloc(size_t num, size_t size); |
