summaryrefslogtreecommitdiff
path: root/nuttx/sched/env_getenvironptr.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/env_getenvironptr.c')
-rw-r--r--nuttx/sched/env_getenvironptr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/env_getenvironptr.c b/nuttx/sched/env_getenvironptr.c
index 25b09755b..91f3940b6 100644
--- a/nuttx/sched/env_getenvironptr.c
+++ b/nuttx/sched/env_getenvironptr.c
@@ -85,7 +85,7 @@ FAR char **get_environ_ptr( void )
/* Return a reference to the thread-private environ in the TCB.*/
- FAR _TCB *ptcb = (FAR _TCB*)g_readytorun.head;
+ FAR struct tcb_s *ptcb = (FAR struct tcb_s*)g_readytorun.head;
if (ptcb->envp)
{
return &ptcb->envp->ev_env;