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
+4 -1
View File
@@ -52,7 +52,10 @@
FAR char *itoa(int val, FAR char *str, int base)
{
static FAR const char *digits = "0123456789abcdefghijklmnopqrstuvwxyz";
int intval = abs(val), digit, pos, len;
int intval = abs(val);
int digit;
int pos;
int len;
FAR char *buf = str;
char swap;