aboutsummaryrefslogtreecommitdiff
path: root/libiberty/strncasecmp.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-10-07 14:45:04 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-10-07 14:45:04 +0000
commit0be6abca220b75aa5a3394fc1f89705aa37c0ebf (patch)
treea0690de0f4f882e39e15d7ffb604d61ec38915f9 /libiberty/strncasecmp.c
parent59d42021f94fd5aa07147cb63d9187c93f4f13b9 (diff)
downloadgcc-0be6abca220b75aa5a3394fc1f89705aa37c0ebf.zip
gcc-0be6abca220b75aa5a3394fc1f89705aa37c0ebf.tar.gz
gcc-0be6abca220b75aa5a3394fc1f89705aa37c0ebf.tar.bz2
demangle.h (demangler_engine): Const-ify.
include: * demangle.h (demangler_engine): Const-ify. * libiberty.h (buildargv): Likewise. libiberty: * argv.c (buildargv, tests, main): Const-ify. * cp-demangle.c (operator_code): Likewise. * cplus-dem.c (optable, libiberty_demanglers, cplus_demangle_set_style, cplus_demangle_name_to_style, print_demangler_list): Likewise. * hashtab.c (higher_prime_number): Likewise. * strcasecmp.c (charmap): Likewise. * strerror.c (error_info, strerror, main): Likewise. * strncasecmp.c (charmap): Likewise. * strsignal.c (signal_info): Likewise. From-SVN: r46060
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',