diff options
Diffstat (limited to 'nuttx/sched/on_exit.c')
-rw-r--r-- | nuttx/sched/on_exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/on_exit.c b/nuttx/sched/on_exit.c index 89c4a2d57..ef3c31631 100644 --- a/nuttx/sched/on_exit.c +++ b/nuttx/sched/on_exit.c @@ -115,7 +115,7 @@ int on_exit(CODE void (*func)(int, FAR void *), FAR void *arg) { #if defined(CONFIG_SCHED_ONEXIT_MAX) && CONFIG_SCHED_ONEXIT_MAX > 1 - FAR _TCB *tcb = (FAR _TCB*)g_readytorun.head; + FAR struct tcb_s *tcb = (FAR struct tcb_s*)g_readytorun.head; FAR struct task_group_s *group = tcb->group; int index; int ret = ENOSPC; @@ -150,7 +150,7 @@ int on_exit(CODE void (*func)(int, FAR void *), FAR void *arg) return ret; #else - FAR _TCB *tcb = (FAR _TCB*)g_readytorun.head; + FAR struct tcb_s *tcb = (FAR struct tcb_s*)g_readytorun.head; FAR struct task_group_s *group = tcb->group; int ret = ENOSPC; |