aboutsummaryrefslogtreecommitdiff
path: root/libiberty/strncasecmp.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-10-07 17:24:36 +0000
committerDJ Delorie <dj@redhat.com>2001-10-07 17:24:36 +0000
commite6450fe56177c2ce3faf4601ed4a3edf42cd90eb (patch)
treeac07269b8f13ae4260a052cceae08934571c5a96 /libiberty/strncasecmp.c
parent6ce8b3699c614ee2f4e2deb7259886a1ca10a0a5 (diff)
downloadfsf-binutils-gdb-e6450fe56177c2ce3faf4601ed4a3edf42cd90eb.zip
fsf-binutils-gdb-e6450fe56177c2ce3faf4601ed4a3edf42cd90eb.tar.gz
fsf-binutils-gdb-e6450fe56177c2ce3faf4601ed4a3edf42cd90eb.tar.bz2
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 8ff06ed..77cb421 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',