diff options
Diffstat (limited to 'nuttx/sched/env_setenv.c')
-rw-r--r-- | nuttx/sched/env_setenv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/env_setenv.c b/nuttx/sched/env_setenv.c index cfde71604..772b01160 100644 --- a/nuttx/sched/env_setenv.c +++ b/nuttx/sched/env_setenv.c @@ -85,7 +85,7 @@ int setenv(FAR const char *name, FAR const char *value, int overwrite) { - FAR _TCB *rtcb; + FAR struct tcb_s *rtcb; FAR struct task_group_s *group; FAR char *pvar; FAR char *newenvp; @@ -124,7 +124,7 @@ int setenv(FAR const char *name, FAR const char *value, int overwrite) /* Get a reference to the thread-private environ in the TCB.*/ sched_lock(); - rtcb = (FAR _TCB*)g_readytorun.head; + rtcb = (FAR struct tcb_s*)g_readytorun.head; group = rtcb->group; DEBUGASSERT(group); |