diff --git a/lib/libc/common/source/stdlib/malloc.c b/lib/libc/common/source/stdlib/malloc.c index a75b028000df23..a0748add9954c0 100644 --- a/lib/libc/common/source/stdlib/malloc.c +++ b/lib/libc/common/source/stdlib/malloc.c @@ -114,7 +114,7 @@ extern char _heap_sentry[]; # endif /* else ALLOCATE_HEAP_AT_STARTUP */ -Z_LIBC_DATA static struct sys_heap z_malloc_heap; +Z_LIBC_DATA struct sys_heap z_malloc_heap; #ifdef CONFIG_MULTITHREADING Z_LIBC_DATA SYS_MUTEX_DEFINE(z_malloc_heap_mutex);