mm/umm_heap: sbrk() is only available in the KERNEL build.

This commit is contained in:
Gregory Nutt
2019-02-04 10:32:31 -06:00
parent b1001b4e50
commit 90e4cf4349
5 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -67,7 +67,7 @@
FAR void *realloc(FAR void *oldmem, size_t size)
{
#ifdef CONFIG_ARCH_ADDRENV
#if defined(CONFIG_ARCH_ADDRENV) && defined(CONFIG_BUILD_KERNEL)
FAR void *brkaddr;
FAR void *mem;