diff --git a/test/alloc.h b/test/alloc.h index 5cd953e..187c6ad 100644 --- a/test/alloc.h +++ b/test/alloc.h @@ -48,7 +48,7 @@ static UNUSED void counting_free(void *ptr) { } } -static UNUSED void check_allocator_status() { +static UNUSED void check_allocator_status(void) { if (_alloc_count > 0) { fprintf(stderr, "Memory leak detected, allocation count is %jd!\n", _alloc_count);