summaryrefslogtreecommitdiff
path: root/nuttx/sched/pthread_getspecific.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/pthread_getspecific.c')
-rw-r--r--nuttx/sched/pthread_getspecific.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/pthread_getspecific.c b/nuttx/sched/pthread_getspecific.c
index c6c61fed6..065cb5a16 100644
--- a/nuttx/sched/pthread_getspecific.c
+++ b/nuttx/sched/pthread_getspecific.c
@@ -104,7 +104,7 @@
FAR void *pthread_getspecific(pthread_key_t key)
{
#if CONFIG_NPTHREAD_KEYS > 0
- FAR _TCB *rtcb = (FAR _TCB*)g_readytorun.head;
+ FAR struct tcb_s *rtcb = (FAR struct tcb_s*)g_readytorun.head;
FAR struct task_group_s *group = rtcb->group;
FAR void *ret = NULL;