]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libiberty/strncasecmp.c
demangle.h (demangler_engine): Const-ify.
[thirdparty/gcc.git] / libiberty / strncasecmp.c
index 8ff06edefc44155beddc045c459c6aa9e3e3c7f6..77cb421770194f1ac948f15706c1709c82363198 100644 (file)
@@ -36,7 +36,7 @@ static char sccsid[] = "@(#)strcasecmp.c      5.5 (Berkeley) 11/24/87";
  * together for a case independent comparison.  The mappings are
  * based upon ascii character sequences.
  */
-static unsigned char charmap[] = {
+static const unsigned char charmap[] = {
        '\000', '\001', '\002', '\003', '\004', '\005', '\006', '\007',
        '\010', '\011', '\012', '\013', '\014', '\015', '\016', '\017',
        '\020', '\021', '\022', '\023', '\024', '\025', '\026', '\027',