From cf0426d5964d50da8b21db6549ed19a987ee85e2 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 9 Jun 2007 19:11:00 +0000 Subject: Simply conditional build; fix conditional compilation git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@275 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/lib/lib_fopen.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'nuttx/lib/lib_fopen.c') 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 */ -- cgit v1.2.3