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:
patacongo
2007-06-09 19:11:00 +00:00
parent aca030153f
commit 9ab11697a8
55 changed files with 87 additions and 199 deletions
+1 -5
View File
@@ -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 */