diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-06-09 19:11:00 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-06-09 19:11:00 +0000 |
commit | cf0426d5964d50da8b21db6549ed19a987ee85e2 (patch) | |
tree | bfbdb400743a05f683c58cc1d8217d2f1d6ce8b9 /nuttx/lib/lib_fopen.c | |
parent | 05dd8c79b40af0221973ba0ee19ee0066c3a8dde (diff) | |
download | px4-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_fopen.c')
-rw-r--r-- | nuttx/lib/lib_fopen.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/nuttx/lib/lib_fopen.c b/nuttx/lib/lib_fopen.c index ec699c340..d5c6bdf6f 100644 --- a/nuttx/lib/lib_fopen.c +++ b/nuttx/lib/lib_fopen.c @@ -55,8 +55,6 @@ * Private Functions ************************************************************/ -#if CONFIG_NFILE_STREAMS > 0 - static int lib_mode2oflags(const char *mode) { int oflags = 0; @@ -126,14 +124,10 @@ static int lib_mode2oflags(const char *mode) return oflags; } -#endif /* CONFIG_NFILE_STREAMS */ - /************************************************************ * Public Functions ************************************************************/ -#if CONFIG_NFILE_STREAMS > 0 - FAR struct file_struct *lib_fdopen(int fd, const char *mode, FAR struct filelist *flist, FAR struct streamlist *slist) @@ -232,5 +226,3 @@ FILE *fopen(const char *path, const char *mode) } return ret; } - -#endif /* CONFIG_NFILE_STREAMS */ |