summaryrefslogtreecommitdiff
path: root/nuttx/sched/atexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/atexit.c')
-rw-r--r--nuttx/sched/atexit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/atexit.c b/nuttx/sched/atexit.c
index f60598884..4539aa8ff 100644
--- a/nuttx/sched/atexit.c
+++ b/nuttx/sched/atexit.c
@@ -120,7 +120,7 @@ int atexit(void (*func)(void))
return on_exit((onexitfunc_t)func, NULL);
#elif defined(CONFIG_SCHED_ATEXIT_MAX) && CONFIG_SCHED_ATEXIT_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 = ERROR;
@@ -155,7 +155,7 @@ int atexit(void (*func)(void))
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 = ERROR;