summaryrefslogtreecommitdiff
path: root/nuttx/fs/fs_inoderelease.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-16 22:03:58 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-16 22:03:58 +0000
commitc2bc43ced9d30a3f6d70680e3a33ad4db272701d (patch)
tree78596de406e8232243c2713650cdb2c99b52d1ea /nuttx/fs/fs_inoderelease.c
parent7b503394caddf86de0a2b09994ed5de902f060db (diff)
downloadpx4-nuttx-c2bc43ced9d30a3f6d70680e3a33ad4db272701d.tar.gz
px4-nuttx-c2bc43ced9d30a3f6d70680e3a33ad4db272701d.tar.bz2
px4-nuttx-c2bc43ced9d30a3f6d70680e3a33ad4db272701d.zip
Fix SDCC compilation problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@72 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fs_inoderelease.c')
-rw-r--r--nuttx/fs/fs_inoderelease.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/fs/fs_inoderelease.c b/nuttx/fs/fs_inoderelease.c
index 3989a4959..15dc49ae6 100644
--- a/nuttx/fs/fs_inoderelease.c
+++ b/nuttx/fs/fs_inoderelease.c
@@ -43,6 +43,8 @@
#include <nuttx/fs.h>
#include "fs_internal.h"
+#if CONFIG_NFILE_DESCRIPTORS >0
+
/************************************************************
* Definitions
************************************************************/
@@ -100,4 +102,6 @@ void inode_release(FAR struct inode *node)
inode_semgive();
}
}
-} \ No newline at end of file
+}
+
+#endif /* CONFIG_NFILE_DESCRIPTORS */