summaryrefslogtreecommitdiff
path: root/nuttx/sched/pthread_setspecific.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/pthread_setspecific.c')
-rw-r--r--nuttx/sched/pthread_setspecific.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/pthread_setspecific.c b/nuttx/sched/pthread_setspecific.c
index 8d32772ef..cc792b3ce 100644
--- a/nuttx/sched/pthread_setspecific.c
+++ b/nuttx/sched/pthread_setspecific.c
@@ -115,7 +115,7 @@
int pthread_setspecific(pthread_key_t key, FAR void *value)
{
#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;
int ret = EINVAL;