Remove #pragmas to switch to the RODATA segment since the compiler will do

this now without help.


git-svn-id: svn://svn.cc65.org/cc65/trunk@263 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2000-08-03 10:45:31 +00:00
parent bb115c8ae2
commit 2f65b8f5c6
3 changed files with 3 additions and 15 deletions

View File

@@ -17,13 +17,10 @@
/* 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 */
@@ -44,9 +41,6 @@ static struct lconv lc = {
CHAR_MAX, /* p_sign_posn */
};
/* Restore the old data segment name */
#pragma dataseg ("DATA");
/*****************************************************************************/
@@ -75,4 +69,4 @@ char* setlocale (int, const char* locale)