aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2015-10-07 10:48:59 +0200
committerFlorian Weimer <fweimer@redhat.com>2015-10-07 10:50:23 +0200
commit7d6f9f74c8292d63cc3b574eb84919c54946e679 (patch)
treeb000ccdf3505f4e0a94de931ff5d09b876cfc419
parentUse dbl-64/wordsize-64 for MIPS64. (diff)
downloadglibc-7d6f9f74c8292d63cc3b574eb84919c54946e679.tar.gz
glibc-7d6f9f74c8292d63cc3b574eb84919c54946e679.tar.bz2
glibc-7d6f9f74c8292d63cc3b574eb84919c54946e679.zip
iconvdata: Add missing const to lookup table definitions
-rw-r--r--ChangeLog5
-rw-r--r--iconvdata/cp737.h2
-rw-r--r--iconvdata/cp775.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6dfe82554a..e1761b946b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/iconvdata/cp737.h b/iconvdata/cp737.h
index 6a2265a526..a39b71d89c 100644
--- a/iconvdata/cp737.h
+++ b/iconvdata/cp737.h
@@ -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 },
diff --git a/iconvdata/cp775.h b/iconvdata/cp775.h
index 97f97f594f..1553124ab3 100644
--- a/iconvdata/cp775.h
+++ b/iconvdata/cp775.h
@@ -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 },