libs: nxstyle fixes

nxstyle fixes to pass the CI checks

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea
2021-03-02 14:33:27 +01:00
committed by Xiang Xiao
parent 796ef13b20
commit d6b50a1d3f
93 changed files with 475 additions and 348 deletions
+2 -1
View File
@@ -49,6 +49,7 @@
FAR char *setlocale(int category, FAR const char *locale)
{
return ((locale == NULL || strcmp(locale, "POSIX") == 0 ||
strcmp(locale, "C") == 0 || strcmp(locale, "") == 0) ? "C" : NULL);
strcmp(locale, "C") == 0 || strcmp(locale, "") ==
0) ? "C" : NULL);
}
#endif