diff options
Diffstat (limited to 'nuttx/sched/sem_trywait.c')
-rw-r--r-- | nuttx/sched/sem_trywait.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/sem_trywait.c b/nuttx/sched/sem_trywait.c index cbd8dae69..ce3e80b3a 100644 --- a/nuttx/sched/sem_trywait.c +++ b/nuttx/sched/sem_trywait.c @@ -96,9 +96,9 @@ int sem_trywait(FAR sem_t *sem) { - FAR _TCB *rtcb = (FAR _TCB*)g_readytorun.head; + FAR struct tcb_s *rtcb = (FAR struct tcb_s*)g_readytorun.head; irqstate_t saved_state; - int ret = ERROR; + int ret = ERROR; /* This API should not be called from interrupt handlers */ |