iconvdata: Add missing const to lookup table definitions

This commit is contained in:
Florian Weimer 2015-10-07 10:48:59 +02:00
parent e88c14d009
commit 7d6f9f74c8
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2015-10-07 Florian Weimer <fweimer@redhat.com>
* iconvdata/cp737.h (from_idx): Add const.
* iconvdata/cp775.h (from_idx): Likewise.
2015-10-07 Joseph Myers <joseph@codesourcery.com>
* sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.

View File

@ -294,7 +294,7 @@ static const uint32_t to_ucs4[256] =
where gap.pl is the file in this directory.
*/
static struct gap from_idx[] =
static const struct gap from_idx[] =
{
{ .start = 0x0000, .end = 0x007f, .idx = 0 },
{ .start = 0x00a0, .end = 0x00a0, .idx = -32 },

View File

@ -294,7 +294,7 @@ static const uint32_t to_ucs4[256] =
where gap.pl is the file in this directory.
*/
static struct gap from_idx[] =
static const struct gap from_idx[] =
{
{ .start = 0x0000, .end = 0x007f, .idx = 0 },
{ .start = 0x00a0, .end = 0x00c9, .idx = -32 },