]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
iconvdata: Add missing const to lookup table definitions
authorFlorian Weimer <fweimer@redhat.com>
Wed, 7 Oct 2015 08:48:59 +0000 (10:48 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 7 Oct 2015 08:50:23 +0000 (10:50 +0200)
ChangeLog
iconvdata/cp737.h
iconvdata/cp775.h

index 6dfe82554aeda4e299e9bbaf55614bfbe151371e..e1761b946bde3bda5d3c8e14bfc66443e7688226 100644 (file)
--- 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.
index 6a2265a5262bec11d850f8b6069d36d6da0f194b..a39b71d89cf0f6db47108f6ac1d1584a5095f3a2 100644 (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 },
index 97f97f594fdb40f0d274b335604ca553922efba2..1553124ab35af295a8de4713004b1b6e6c395987 100644 (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 },