mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00:00
LibC: Fix locale.cpp warnings.
This commit is contained in:
parent
bd4ac6d42e
commit
56ae96558b
1 changed files with 7 additions and 3 deletions
|
@ -4,10 +4,14 @@
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
|
static char default_decimal_point[] = ".";
|
||||||
|
static char default_thousands_sep[] = ",";
|
||||||
|
static char default_grouping[] = "\x03\x03";
|
||||||
|
|
||||||
static struct lconv default_locale = {
|
static struct lconv default_locale = {
|
||||||
".",
|
default_decimal_point,
|
||||||
",",
|
default_thousands_sep,
|
||||||
"\x03\x03",
|
default_grouping,
|
||||||
};
|
};
|
||||||
|
|
||||||
char* setlocale(int category, const char* locale)
|
char* setlocale(int category, const char* locale)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue