-/* Data in this module is read-only, put it into the RODATA segment */
-#pragma dataseg ("RODATA");
-
/* For memory efficiency use a separate empty string */
-static const char EmptyString [] = "";
+static char EmptyString [] = "";
static struct lconv lc = {
EmptyString, /* currency_symbol */
CHAR_MAX, /* p_sign_posn */
};
-/* Restore the old data segment name */
-#pragma dataseg ("DATA");
-
/*****************************************************************************/
-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 */
-
+