aboutsummaryrefslogtreecommitdiff
path: root/libiberty/strcasecmp.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/strcasecmp.c
parent6ce8b3699c614ee2f4e2deb7259886a1ca10a0a5 (diff)
downloadgdb-e6450fe56177c2ce3faf4601ed4a3edf42cd90eb.zip
gdb-e6450fe56177c2ce3faf4601ed4a3edf42cd90eb.tar.gz
gdb-e6450fe56177c2ce3faf4601ed4a3edf42cd90eb.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/strcasecmp.c')
-rw-r--r--libiberty/strcasecmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/strcasecmp.c b/libiberty/strcasecmp.c
index dcfa407..4bfe650 100644
--- a/libiberty/strcasecmp.c
+++ b/libiberty/strcasecmp.c
@@ -37,7 +37,7 @@ static char sccsid[] = "@(#)strcasecmp.c 5.5 (Berkeley) 11/24/87";
* based upon ascii character sequences.
*/
typedef unsigned char uc;
-static unsigned char charmap[] = {
+static const unsigned char charmap[] = {
(uc)'\000',(uc)'\001',(uc)'\002',(uc)'\003',(uc)'\004',(uc)'\005',(uc)'\006',(uc)'\007',
(uc)'\010',(uc)'\011',(uc)'\012',(uc)'\013',(uc)'\014',(uc)'\015',(uc)'\016',(uc)'\017',
(uc)'\020',(uc)'\021',(uc)'\022',(uc)'\023',(uc)'\024',(uc)'\025',(uc)'\026',(uc)'\027',