mirror of
https://github.com/apache/nuttx.git
synced 2026-08-22 14:08:30 +00:00
sched: Move g_tcbinfo to include/nuttx/sched.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
65db787eff
commit
d2b693a204
2 changed files with 4 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
****************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue