sched: Move g_tcbinfo to include/nuttx/sched.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2021-11-22 14:59:48 -03:00
committed by Gustavo Henrique Nihei
parent 65db787eff
commit d2b693a204
2 changed files with 4 additions and 2 deletions
-2
View File
@@ -87,8 +87,6 @@ static int tcbinfo_stat(FAR const char *relpath, FAR struct stat *buf);
* Public Data
****************************************************************************/
extern struct tcbinfo_s g_tcbinfo;
/* See fs_mount.c -- this structure is explicitly externed there.
* We use the old-fashioned kind of initializers so that this will compile
* with any compiler.
+4
View File
@@ -832,6 +832,10 @@ EXTERN uint32_t g_crit_max[1];
#endif
#endif /* CONFIG_SCHED_CRITMONITOR */
#ifdef CONFIG_DEBUG_TCBINFO
EXTERN struct tcbinfo_s g_tcbinfo;
#endif
/****************************************************************************
* Public Function Prototypes
****************************************************************************/