This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 44b61fd74092e87dff7bb31e6b1b9cb0edf074b5 Author: jingfei <[email protected]> AuthorDate: Tue Oct 13 21:10:41 2026 +0800 fixup! mm/mm_heap: optional inline for mm_addfreechunk Signed-off-by: jingfei <[email protected]> --- mm/mm_heap/mm_addfreechunk.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/mm/mm_heap/mm_addfreechunk.c b/mm/mm_heap/mm_addfreechunk.c index 4c4764745ee..994314078b4 100644 --- a/mm/mm_heap/mm_addfreechunk.c +++ b/mm/mm_heap/mm_addfreechunk.c @@ -26,11 +26,10 @@ #include <nuttx/config.h> -#include <assert.h> - -#include <nuttx/mm/mm.h> - -/* Emit the out-of-line definition of mm_addfreechunk() from mm.h. */ +/* Emit the out-of-line definition of mm_addfreechunk(). Must precede + * the first inclusion of mm_heap/mm.h, or its include guard suppresses + * the definition. + */ #define MM_ADDFREECHUNK_IMPL #include "mm_heap/mm.h"
