Minor changes from review of last PR
This commit is contained in:
parent
8039173c9e
commit
97b3240737
|
@ -40,10 +40,10 @@
|
|||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <string.h>
|
||||
#include <locale.h>
|
||||
|
||||
#ifdef CONFIG_LIBC_LOCALE
|
||||
#include <string.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
|
@ -63,8 +63,7 @@
|
|||
|
||||
FAR char *setlocale(int category, FAR const char *locale)
|
||||
{
|
||||
|
||||
return ((strcmp (locale, "POSIX") == 0 || strcmp (locale, "C") == 0 ||
|
||||
strcmp (locale, "") == 0) ? "C" : NULL);
|
||||
return ((strcmp(locale, "POSIX") == 0 || strcmp(locale, "C") == 0 ||
|
||||
strcmp(locale, "") == 0) ? "C" : NULL);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue