Fix nxstyle warning

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2021-01-12 12:33:46 +08:00
committed by Alin Jerpelea
parent 0536953ded
commit 0dc6990166
13 changed files with 92 additions and 69 deletions
+2 -2
View File
@@ -103,8 +103,8 @@ void rammap_initialize(void)
* offset The offset into the file to map
*
* Returned Value:
* On success, rammmap() returns a pointer to the mapped area. On error, the
* value MAP_FAILED is returned, and errno is set appropriately.
* On success, rammmap() returns a pointer to the mapped area. On error,
* the value MAP_FAILED is returned, and errno is set appropriately.
*
* EBADF
* 'fd' is not a valid file descriptor.
+3 -1
View File
@@ -168,7 +168,9 @@ int select(int nfds, FAR fd_set *readfds, FAR fd_set *writefds,
incr = 1;
}
/* The exceptfds set holds the set of FDs that are watched for exceptions */
/* The exceptfds set holds the set of FDs that are watched for
* exceptions
*/
if (exceptfds && FD_ISSET(fd, exceptfds))
{