summaryrefslogtreecommitdiff
path: root/nuttx/fs/fs_write.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-06-09 19:11:00 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-06-09 19:11:00 +0000
commitcf0426d5964d50da8b21db6549ed19a987ee85e2 (patch)
treebfbdb400743a05f683c58cc1d8217d2f1d6ce8b9 /nuttx/fs/fs_write.c
parent05dd8c79b40af0221973ba0ee19ee0066c3a8dde (diff)
downloadpx4-nuttx-cf0426d5964d50da8b21db6549ed19a987ee85e2.tar.gz
px4-nuttx-cf0426d5964d50da8b21db6549ed19a987ee85e2.tar.bz2
px4-nuttx-cf0426d5964d50da8b21db6549ed19a987ee85e2.zip
Simply conditional build; fix conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@275 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fs_write.c')
-rw-r--r--nuttx/fs/fs_write.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nuttx/fs/fs_write.c b/nuttx/fs/fs_write.c
index cebb49e60..60a6b8290 100644
--- a/nuttx/fs/fs_write.c
+++ b/nuttx/fs/fs_write.c
@@ -53,8 +53,6 @@
* Global Functions
************************************************************/
-#if CONFIG_NFILE_DESCRIPTORS > 0
-
int write(int fd, const void *buf, unsigned int nbytes)
{
FAR struct filelist *list;
@@ -94,5 +92,3 @@ int write(int fd, const void *buf, unsigned int nbytes)
return ret;
}
-#endif /* CONFIG_NFILE_DESCRIPTORS */
-