summaryrefslogtreecommitdiff
path: root/nuttx/lib/lib_libfwrite.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/lib/lib_libfwrite.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/lib/lib_libfwrite.c')
-rw-r--r--nuttx/lib/lib_libfwrite.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/nuttx/lib/lib_libfwrite.c b/nuttx/lib/lib_libfwrite.c
index f62e8ddb9..20accc9e9 100644
--- a/nuttx/lib/lib_libfwrite.c
+++ b/nuttx/lib/lib_libfwrite.c
@@ -83,8 +83,6 @@
* lib_fwrite
************************************************************/
-#if CONFIG_NFILE_STREAMS > 0
-
ssize_t lib_fwrite(const void *ptr, size_t count, FILE *stream)
#if CONFIG_STDIO_BUFFER_SIZE > 0
{
@@ -164,4 +162,3 @@ ssize_t lib_fwrite(const void *ptr, size_t count, FILE *stream)
}
#endif /* CONFIG_STDIO_BUFFER_SIZE */
-#endif /* CONFIG_NFILE_STREAMS */