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 b8b17f6dd9966ce831b07dea4418fc3a1aee645a Author: anjiahao <[email protected]> AuthorDate: Wed Sep 10 11:08:29 2025 +0800 group.h:add task_group_s statement The group heap prototypes of include/nuttx/kmalloc.h take a struct task_group_s pointer. Forward-declare the structure, so that they do not depend on its definition in nuttx/sched.h having been seen. Assisted-by: Kiro:claude-opus-5-5 Signed-off-by: anjiahao <[email protected]> --- include/nuttx/kmalloc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/nuttx/kmalloc.h b/include/nuttx/kmalloc.h index 408f06374e4..8192bffec7b 100644 --- a/include/nuttx/kmalloc.h +++ b/include/nuttx/kmalloc.h @@ -129,6 +129,8 @@ extern "C" * ****************************************************************************/ +struct task_group_s; + /* Functions defined in group/group_malloc.c ********************************/ FAR void *group_malloc(FAR struct task_group_s *group, size_t nbytes);
