diff --git a/test/malloc_info.c b/test/malloc_info.c index f3ccc52..3eda5e3 100644 --- a/test/malloc_info.c +++ b/test/malloc_info.c @@ -4,6 +4,7 @@ #include #include "test_util.h" +#include "../util.h" OPTNONE static void leak_memory(void) { (void)!malloc(1024 * 1024 * 1024); @@ -12,7 +13,7 @@ OPTNONE static void leak_memory(void) { (void)!malloc(4096); } -static void *do_work(void *p) { +static void *do_work(UNUSED void *p) { leak_memory(); return NULL; }