mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Simply conditional build; fix conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@275 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user