diff --git a/h_malloc.c b/h_malloc.c index a610683..486e6a5 100644 --- a/h_malloc.c +++ b/h_malloc.c @@ -80,7 +80,7 @@ static union { char padding[PAGE_SIZE]; } ro __attribute__((aligned(PAGE_SIZE))); -static inline void *get_slab_region_end() { +static inline void *get_slab_region_end(void) { return atomic_load_explicit(&ro.slab_region_end, memory_order_acquire); }