summaryrefslogtreecommitdiff
path: root/libiberty/strncasecmp.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-10-07 17:24:36 +0000
committerDJ Delorie <dj@delorie.com>2001-10-07 17:24:36 +0000
commit5849f895508122d117627bfddf595a51eedab5c0 (patch)
treeb60cf6a44d847600bfe9337c565df06e95d20694 /libiberty/strncasecmp.c
parent6aaed9d2f5048ee39103ba0782588562e726d98d (diff)
downloadgdb-5849f895508122d117627bfddf595a51eedab5c0.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/strncasecmp.c')
-rw-r--r--libiberty/strncasecmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/strncasecmp.c b/libiberty/strncasecmp.c
index 8ff06edefc4..77cb4217701 100644
--- a/libiberty/strncasecmp.c
+++ b/libiberty/strncasecmp.c
@@ -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',