summaryrefslogtreecommitdiff
path: root/nuttx/sched/sched_setuppthreadfiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/sched_setuppthreadfiles.c')
-rw-r--r--nuttx/sched/sched_setuppthreadfiles.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/sched_setuppthreadfiles.c b/nuttx/sched/sched_setuppthreadfiles.c
index 0935b487d..5cc20c6d1 100644
--- a/nuttx/sched/sched_setuppthreadfiles.c
+++ b/nuttx/sched/sched_setuppthreadfiles.c
@@ -71,9 +71,9 @@
*
************************************************************/
-int sched_setuppthreadfiles(_TCB *tcb)
+int sched_setuppthreadfiles(FAR _TCB *tcb)
{
- _TCB *rtcb = (_TCB*)g_readytorun.head;
+ FAR _TCB *rtcb = (FAR _TCB*)g_readytorun.head;
/* The child thread inherits the parent file descriptors */