-/* Data in this module is read-only, put it into the RODATA segment */
-#pragma dataseg ("RODATA")
-
const unsigned char _hextab [16] = {
'0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', 'A', 'B', 'C', 'D', 'E', 'F'
-/* Place the following data into the readonly data segment */
-#pragma dataseg ("RODATA")
-
-const char* _sys_errlist[] = {
+const char* const _sys_errlist[] = {
"Unknown error", /* 0 */
"No such file or directory", /* 1 */
"Out of memory", /* 2 */
-/* 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 struct lconv lc = {
+static const struct lconv lc = {
EmptyString, /* currency_symbol */
".", /* decimal_point */
EmptyString, /* grouping */
CHAR_MAX, /* p_sign_posn */
};
-/* Restore the old data segment name */
-#pragma dataseg ("DATA");
-
/*****************************************************************************/
-
+