summaryrefslogtreecommitdiff
path: root/nuttx/mm
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-31 15:27:37 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-31 15:27:37 -0600
commit81baf55fd8f4e860516cdfbaa5db2d74b5289bfd (patch)
tree9de6444939105ffd3aed81aede004f6ba0daf616 /nuttx/mm
parentbdf39bd497954930d2176540594f2e0d046a31af (diff)
downloadpx4-nuttx-81baf55fd8f4e860516cdfbaa5db2d74b5289bfd.tar.gz
px4-nuttx-81baf55fd8f4e860516cdfbaa5db2d74b5289bfd.tar.bz2
px4-nuttx-81baf55fd8f4e860516cdfbaa5db2d74b5289bfd.zip
Rename kmemalign to kmm_memalign and krealloc to kmm_realooc for consistency with other naming
Diffstat (limited to 'nuttx/mm')
-rw-r--r--nuttx/mm/kmm_realloc.c4
-rw-r--r--nuttx/mm/umm_realloc.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/mm/kmm_realloc.c b/nuttx/mm/kmm_realloc.c
index cd3d383b4..fdb77da3f 100644
--- a/nuttx/mm/kmm_realloc.c
+++ b/nuttx/mm/kmm_realloc.c
@@ -56,7 +56,7 @@
****************************************************************************/
/****************************************************************************
- * Name: krealloc
+ * Name: kmm_realloc
*
* Description:
* Re-allocate memory in the kernel heap.
@@ -70,7 +70,7 @@
*
****************************************************************************/
-FAR void *krealloc(FAR void *oldmem, size_t newsize)
+FAR void *kmm_realloc(FAR void *oldmem, size_t newsize)
{
return mm_realloc(&g_kmmheap, oldmem, newsize);
}
diff --git a/nuttx/mm/umm_realloc.c b/nuttx/mm/umm_realloc.c
index 4f5391938..6791bb18b 100644
--- a/nuttx/mm/umm_realloc.c
+++ b/nuttx/mm/umm_realloc.c
@@ -58,7 +58,7 @@
****************************************************************************/
/****************************************************************************
- * Name: krealloc
+ * Name: realloc
*
* Description:
* Re-allocate memory in the user heap.