libs: fix nxstyle errors

fix erros reported by nxstyle

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea
2021-04-02 07:44:54 +02:00
committed by Xiang Xiao
parent 8975a65197
commit ed8e5e971b
53 changed files with 410 additions and 307 deletions
+1 -1
View File
@@ -41,7 +41,7 @@
#include <string.h>
/****************************************************************************
* Global Functions
* Public Functions
****************************************************************************/
/* memset that must not be optimized away by compiler (not even with LTO). */
-1
View File
@@ -45,7 +45,6 @@
* Public Functions
****************************************************************************/
/****************************************************************************
* Name: memccpy
*
+1 -1
View File
@@ -133,7 +133,6 @@ FAR char *strtok_r(FAR char *str, FAR const char *delim, FAR char **saveptr)
*pend && strchr(delim, *pend) == NULL;
pend++);
/* pend either points to the end of the string or to
* the first delimiter after the string.
*/
@@ -153,5 +152,6 @@ FAR char *strtok_r(FAR char *str, FAR const char *delim, FAR char **saveptr)
{
*saveptr = pend;
}
return pbegin;
}
+1
View File
@@ -294,6 +294,7 @@ typedef uint32_t UIntN;
/****************************************************************************
* Public Functions
****************************************************************************/
/****************************************************************************
* Name: memcpy
*