summaryrefslogtreecommitdiff
path: root/gcc/config/i386/msformat-c.c
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-04 22:52:57 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-04 22:52:57 +0000
commit3535bad9d639f76e2cb724fefdcd84e5cdedbf32 (patch)
treee929baa4b70920871d8ca1fd2a358806bcb34275 /gcc/config/i386/msformat-c.c
parentc73f01c5ef932a57f9801950b2ccfc9f802df80c (diff)
downloadgcc-3535bad9d639f76e2cb724fefdcd84e5cdedbf32.tar.gz
PR target/40636
* config/i386/msformat-c.c (mingw_format_attributes): Declare as EXPORTED_CONST. (mingw_format_attribute_overrides): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149243 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/msformat-c.c')
-rw-r--r--gcc/config/i386/msformat-c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/i386/msformat-c.c b/gcc/config/i386/msformat-c.c
index dec8f40d478..d7eb42d9c3c 100644
--- a/gcc/config/i386/msformat-c.c
+++ b/gcc/config/i386/msformat-c.c
@@ -145,7 +145,7 @@ static const format_char_info ms_time_char_table[] =
{ NULL, 0, STD_C89, NOLENGTHS, NULL, NULL, NULL }
};
-const format_kind_info mingw_format_attributes[3] =
+EXPORTED_CONST format_kind_info mingw_format_attributes[3] =
{
{ "ms_printf", ms_printf_length_specs, ms_print_char_table, " +#0-'", NULL,
ms_printf_flag_specs, ms_printf_flag_pairs,
@@ -167,7 +167,7 @@ const format_kind_info mingw_format_attributes[3] =
};
/* Default overrides for printf, scanf and strftime. */
-const target_ovr_attr mingw_format_attribute_overrides[4] =
+EXPORTED_CONST target_ovr_attr mingw_format_attribute_overrides[4] =
{
{ "ms_printf", "printf" },
{ "ms_scanf", "scanf" },