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 a11956db90d5f66ba4bd949a1b59d611361df687
Author: zhangyuan29 <[email protected]>
AuthorDate: Mon Aug 18 11:22:33 2025 +0800

    sched/backtrace: do not include nuttx/sched.h
    
    The TASKING toolchain for TriCore (TC3) mixes up header files with the
    same name when it expands them, and sched_backtrace.c includes both
    <nuttx/sched.h> and the local "sched.h".  The local "sched.h" already
    brings in what sched_backtrace.c needs, so drop <nuttx/sched.h>.
    
    Signed-off-by: zhangyuan29 <[email protected]>
---
 sched/sched/sched_backtrace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sched/sched/sched_backtrace.c b/sched/sched/sched_backtrace.c
index 284a32fce52..9264b11fe06 100644
--- a/sched/sched/sched_backtrace.c
+++ b/sched/sched/sched_backtrace.c
@@ -25,7 +25,7 @@
  ****************************************************************************/
 
 #include <nuttx/config.h>
-#include <nuttx/sched.h>
+
 #include <nuttx/init.h>
 
 #include <sys/param.h>

Reply via email to