summaryrefslogtreecommitdiff
path: root/nuttx/sched/pthread_setcancelstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/pthread_setcancelstate.c')
-rw-r--r--nuttx/sched/pthread_setcancelstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/pthread_setcancelstate.c b/nuttx/sched/pthread_setcancelstate.c
index 2c6bf3083..834dc4a59 100644
--- a/nuttx/sched/pthread_setcancelstate.c
+++ b/nuttx/sched/pthread_setcancelstate.c
@@ -75,7 +75,7 @@
int pthread_setcancelstate(int state, FAR int *oldstate)
{
- _TCB *tcb = (_TCB*)g_readytorun.head;
+ struct tcb_s *tcb = (struct tcb_s*)g_readytorun.head;
int ret = OK;
/* Suppress context changes for a bit so that the flags are stable. (the