summaryrefslogtreecommitdiff
path: root/nuttx/sched/pthread_keycreate.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/pthread_keycreate.c')
-rw-r--r--nuttx/sched/pthread_keycreate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/pthread_keycreate.c b/nuttx/sched/pthread_keycreate.c
index db09d035f..f9845960d 100644
--- a/nuttx/sched/pthread_keycreate.c
+++ b/nuttx/sched/pthread_keycreate.c
@@ -111,7 +111,7 @@
int pthread_key_create(FAR pthread_key_t *key, CODE void (*destructor)(void*))
{
#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 = EAGAIN;