LibC: Fix locale.cpp warnings.

This commit is contained in:
Andreas Kling 2019-06-22 14:32:59 +02:00
commit 56ae96558b
Notes: sideshowbarker 2024-07-19 13:31:25 +09:00

View file

@ -4,10 +4,14 @@
extern "C" {
static char default_decimal_point[] = ".";
static char default_thousands_sep[] = ",";
static char default_grouping[] = "\x03\x03";
static struct lconv default_locale = {
".",
",",
"\x03\x03",
default_decimal_point,
default_thousands_sep,
default_grouping,
};
char* setlocale(int category, const char* locale)