Run all .c and .h files in previous commits through nxstyle.

This commit is contained in:
Gregory Nutt
2020-03-21 13:54:03 -06:00
committed by Xiang Xiao
parent 533528af01
commit 547a3cb3d9
15 changed files with 1043 additions and 766 deletions
+2 -2
View File
@@ -488,8 +488,8 @@ int rename(FAR const char *oldpath, FAR const char *newpath)
FAR struct inode *oldinode;
int ret;
/* Ignore paths that are interpreted as the root directory which has no name
* and cannot be moved
/* Ignore paths that are interpreted as the root directory which has no
* name and cannot be moved
*/
if (!oldpath || *oldpath == '\0' || oldpath[0] != '/' ||
+3 -3
View File
@@ -138,9 +138,9 @@ int rmdir(FAR const char *pathname)
}
/* Remove the inode. NOTE: Because we hold a reference count on the
* inode, it will not be deleted now. But probably when inode_release()
* is called below. inode_remove should return -EBUSY to indicate that
* the inode was not deleted now.
* inode, it will not be deleted now. But probably when
* inode_release() is called below. inode_remove should return
* -EBUSY to indicate that the inode was not deleted now.
*/
inode_semtake();