]> git.sur5r.net Git - cc65/blobdiff - libsrc/common/locale.c
The spans do now contain the size of a span, no longer the end offset.
[cc65] / libsrc / common / locale.c
index 5c084a2d05b2f9dd63d519d322d80c4ab7aef84c..f03a68e6fcd3427df391392ed6c5d170c6d8204c 100644 (file)
@@ -18,9 +18,9 @@
 
 
 /* For memory efficiency use a separate empty string */
-static const char EmptyString [] = "";
+static char EmptyString [] = "";
 
-static const struct lconv lc = {
+static struct lconv lc = {
     EmptyString,       /* currency_symbol */
     ".",               /* decimal_point */
     EmptyString,       /* grouping */
@@ -56,7 +56,7 @@ struct lconv* localeconv (void)
 
 
 
-char* setlocale (int, const char* locale)
+char* __fastcall__ setlocale (int, const char* locale)
 {
     if (locale == 0 || (locale [0] == 'C' && locale [1] == '\0') || locale [0] == '\0') {
        /* No change, or value already set, our locale is the "C" locale */