mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
libs: fix nxstyle errors
fix erros reported by nxstyle Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
committed by
Xiang Xiao
parent
8975a65197
commit
ed8e5e971b
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user