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
+5 -5
View File
@@ -155,7 +155,7 @@ int net_routesize(FAR const char *path, size_t entrysize)
if (ret == -ENOENT)
{
/* The routing table file has not been created. Return size zero. */
/* The routing table file has not been created. Return zero. */
return 0;
}
@@ -308,7 +308,7 @@ int net_openroute_ipv6(int oflags, FAR struct file *filep)
* Read one route entry from the IPv4/IPv6 routing table.
*
* Input Parameters:
* filep - Detached file instance obtained by net_openroute_ipv{4|6}[_rdonly]
* filep - File instance obtained by net_openroute_ipv{4|6}[_rdonly]
* route - Location to return the next route read from the file
*
* Returned Value:
@@ -421,7 +421,7 @@ ssize_t net_readroute_ipv6(FAR struct file *filep,
* Write one route entry to the IPv4/IPv6 routing table.
*
* Input Parameters:
* filep - Detached file instance obtained by net_openroute_ipv{4|6}[_rdonly]
* filep - File instance obtained by net_openroute_ipv{4|6}[_rdonly]
* route - Location to return the next route read from the file
*
* Returned Value:
@@ -533,7 +533,7 @@ ssize_t net_writeroute_ipv6(FAR struct file *filep,
* Seek to a specific entry entry to the IPv4/IPv6 routing table.
*
* Input Parameters:
* filep - Detached file instance obtained by net_openroute_ipv{4|6}[_rdonly]
* filep - File instance obtained by net_openroute_ipv{4|6}[_rdonly]
* index - The index of the routing table entry to seek to.
*
* Returned Value:
@@ -821,7 +821,7 @@ int net_unlockroute_ipv6(void)
* Close the IPv4/IPv6 routing table.
*
* Input Parameters:
* filep - Detached file instance obtained by net_openroute_ipv{4|6}[_rdonly]
* filep - File instance obtained by net_openroute_ipv{4|6}[_rdonly]
*
* Returned Value:
* Zero (OK) is returned on success. A negated errno value is returned on