diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-01 21:05:55 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-01 21:05:55 +0000 |
commit | 08680a039b6ffc922731d9a1cfdff20ef204dbba (patch) | |
tree | 25bb704377c624f2d63c4bb5ad1df332d44aa78a /nuttx/sched/sched_releasefiles.c | |
parent | 129dd27cc4deb042d2f88c65927adc49c338756d (diff) | |
download | px4-nuttx-08680a039b6ffc922731d9a1cfdff20ef204dbba.tar.gz px4-nuttx-08680a039b6ffc922731d9a1cfdff20ef204dbba.tar.bz2 px4-nuttx-08680a039b6ffc922731d9a1cfdff20ef204dbba.zip |
This creates a 8051 build that can run in 24Kb of RAM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@26 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/sched_releasefiles.c')
-rw-r--r-- | nuttx/sched/sched_releasefiles.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nuttx/sched/sched_releasefiles.c b/nuttx/sched/sched_releasefiles.c index 979aca22d..c511bdb54 100644 --- a/nuttx/sched/sched_releasefiles.c +++ b/nuttx/sched/sched_releasefiles.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> @@ -69,6 +66,8 @@ * ************************************************************/ +#if CONFIG_NFILE_DESCRIPTORS > 0 + int sched_releasefiles(_TCB *tcb) { if (tcb) |