mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +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:
+1
-5
@@ -54,8 +54,6 @@
|
||||
* Private Functions
|
||||
****************************************************************************/
|
||||
|
||||
#if CONFIG_NFILE_DESCRIPTORS > 0
|
||||
|
||||
/****************************************************************************
|
||||
* Name: statpsuedo
|
||||
****************************************************************************/
|
||||
@@ -125,7 +123,7 @@ int statfs(const char *path, struct statfs *buf)
|
||||
* are dealing with.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_DISABLE_MOUNTPOUNT
|
||||
#ifndef CONFIG_DISABLE_MOUNTPOINT
|
||||
if (INODE_IS_MOUNTPT(inode))
|
||||
{
|
||||
/* The node is a file system mointpoint. Verify that the mountpoint
|
||||
@@ -168,5 +166,3 @@ int statfs(const char *path, struct statfs *buf)
|
||||
*get_errno_ptr() = ret;
|
||||
return ERROR;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_NFILE_DESCRIPTORS */
|
||||
|
||||
Reference in New Issue
Block a user