diff options
Diffstat (limited to 'nuttx/sched/sched_setuppthreadfiles.c')
-rw-r--r-- | nuttx/sched/sched_setuppthreadfiles.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nuttx/sched/sched_setuppthreadfiles.c b/nuttx/sched/sched_setuppthreadfiles.c index 5cc20c6d1..91dfd850f 100644 --- a/nuttx/sched/sched_setuppthreadfiles.c +++ b/nuttx/sched/sched_setuppthreadfiles.c @@ -38,9 +38,6 @@ ************************************************************/ #include <nuttx/config.h> - -#if CONFIG_NFILE_DESCRIPTORS > 0 - #include <sched.h> #include <nuttx/fs.h> #include <nuttx/lib.h> @@ -71,6 +68,8 @@ * ************************************************************/ +#if CONFIG_NFILE_DESCRIPTORS > 0 + int sched_setuppthreadfiles(FAR _TCB *tcb) { FAR _TCB *rtcb = (FAR _TCB*)g_readytorun.head; |