diff options
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 */ |