mm: Remove mm_ prefix from mm_[add|free]_delaylist

follow the convention of other static mm functions

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-11-06 07:19:44 +08:00 committed by Petro Karashchenko
parent b567e09c3c
commit 85b4177913
2 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@
* Private Functions * Private Functions
****************************************************************************/ ****************************************************************************/
static void mm_add_delaylist(FAR struct mm_heap_s *heap, FAR void *mem) static void add_delaylist(FAR struct mm_heap_s *heap, FAR void *mem)
{ {
#if defined(CONFIG_BUILD_FLAT) || defined(__KERNEL__) #if defined(CONFIG_BUILD_FLAT) || defined(__KERNEL__)
FAR struct mm_delaynode_s *tmp = mem; FAR struct mm_delaynode_s *tmp = mem;
@ -91,7 +91,7 @@ void mm_free(FAR struct mm_heap_s *heap, FAR void *mem)
* Then add to the delay list. * Then add to the delay list.
*/ */
mm_add_delaylist(heap, mem); add_delaylist(heap, mem);
return; return;
} }

View File

@ -40,7 +40,7 @@
* Private Functions * Private Functions
****************************************************************************/ ****************************************************************************/
static void mm_free_delaylist(FAR struct mm_heap_s *heap) static void free_delaylist(FAR struct mm_heap_s *heap)
{ {
#if defined(CONFIG_BUILD_FLAT) || defined(__KERNEL__) #if defined(CONFIG_BUILD_FLAT) || defined(__KERNEL__)
FAR struct mm_delaynode_s *tmp; FAR struct mm_delaynode_s *tmp;
@ -111,7 +111,7 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size)
/* Free the delay list first */ /* Free the delay list first */
mm_free_delaylist(heap); free_delaylist(heap);
/* Ignore zero-length allocations */ /* Ignore zero-length allocations */