diff --git a/mm/umm_heap/umm_calloc.c b/mm/umm_heap/umm_calloc.c index 7c782c97909..5913bd2d32d 100644 --- a/mm/umm_heap/umm_calloc.c +++ b/mm/umm_heap/umm_calloc.c @@ -45,7 +45,7 @@ * ****************************************************************************/ -#undef calloc /* See mm/README.txt */ +#undef calloc FAR void *calloc(size_t n, size_t elem_size) { #if defined(CONFIG_ARCH_ADDRENV) && defined(CONFIG_BUILD_KERNEL) diff --git a/mm/umm_heap/umm_free.c b/mm/umm_heap/umm_free.c index 446fb48c015..72cccdc81c0 100644 --- a/mm/umm_heap/umm_free.c +++ b/mm/umm_heap/umm_free.c @@ -45,7 +45,7 @@ * ****************************************************************************/ -#undef free /* See mm/README.txt */ +#undef free void free(FAR void *mem) { mm_free(USR_HEAP, mem); diff --git a/mm/umm_heap/umm_malloc.c b/mm/umm_heap/umm_malloc.c index ce1f639836c..22cf89bb163 100644 --- a/mm/umm_heap/umm_malloc.c +++ b/mm/umm_heap/umm_malloc.c @@ -51,7 +51,7 @@ * ****************************************************************************/ -#undef malloc /* See mm/README.txt */ +#undef malloc FAR void *malloc(size_t size) { #if defined(CONFIG_ARCH_ADDRENV) && defined(CONFIG_BUILD_KERNEL) diff --git a/mm/umm_heap/umm_malloc_size.c b/mm/umm_heap/umm_malloc_size.c index 98e2f8198e2..c19c5c65395 100644 --- a/mm/umm_heap/umm_malloc_size.c +++ b/mm/umm_heap/umm_malloc_size.c @@ -36,7 +36,7 @@ * Public Functions ****************************************************************************/ -#undef malloc_size /* See mm/README.txt */ +#undef malloc_size size_t malloc_size(FAR void *mem) { return mm_malloc_size(USR_HEAP, mem); diff --git a/mm/umm_heap/umm_memalign.c b/mm/umm_heap/umm_memalign.c index bb37e2d20df..11a2f47f44e 100644 --- a/mm/umm_heap/umm_memalign.c +++ b/mm/umm_heap/umm_memalign.c @@ -50,7 +50,7 @@ * ****************************************************************************/ -#undef memalign /* See mm/README.txt */ +#undef memalign FAR void *memalign(size_t alignment, size_t size) { #if defined(CONFIG_ARCH_ADDRENV) && defined(CONFIG_BUILD_KERNEL) diff --git a/mm/umm_heap/umm_realloc.c b/mm/umm_heap/umm_realloc.c index f8e5ccc98b2..677e2249d2d 100644 --- a/mm/umm_heap/umm_realloc.c +++ b/mm/umm_heap/umm_realloc.c @@ -52,7 +52,7 @@ * ****************************************************************************/ -#undef realloc /* See mm/README.txt */ +#undef realloc FAR void *realloc(FAR void *oldmem, size_t size) { #if defined(CONFIG_ARCH_ADDRENV) && defined(CONFIG_BUILD_KERNEL) diff --git a/mm/umm_heap/umm_zalloc.c b/mm/umm_heap/umm_zalloc.c index ef023afe561..7be29487aa7 100644 --- a/mm/umm_heap/umm_zalloc.c +++ b/mm/umm_heap/umm_zalloc.c @@ -51,7 +51,7 @@ * ****************************************************************************/ -#undef zalloc /* See mm/README.txt */ +#undef zalloc FAR void *zalloc(size_t size) { #ifdef CONFIG_ARCH_ADDRENV