This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 043d193fff3305de5778c4ab46ed595b3077ba49
Author: zhuyanlin <[email protected]>
AuthorDate: Tue Nov 23 10:24:23 2021 +0800

    tcbinfo:sched: fix build break
    
    Signed-off-by: zhuyanlin <[email protected]>
---
 include/nuttx/sched.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/nuttx/sched.h b/include/nuttx/sched.h
index 667751a..130d939 100644
--- a/include/nuttx/sched.h
+++ b/include/nuttx/sched.h
@@ -835,7 +835,7 @@ EXTERN uint32_t g_crit_max[1];
 #endif /* CONFIG_SCHED_CRITMONITOR */
 
 #ifdef CONFIG_DEBUG_TCBINFO
-EXTERN struct tcbinfo_s g_tcbinfo;
+EXTERN const struct tcbinfo_s g_tcbinfo;
 #endif
 
 /****************************************************************************

Reply via email to