From 542e92711b3f5310eb8a4455c83435e3cbf6c0ae Mon Sep 17 00:00:00 2001 From: ghazi Date: Sun, 7 Oct 2001 14:45:04 +0000 Subject: 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46060 138bc75d-0d04-0410-961f-82ee72b054a4 --- libiberty/strsignal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libiberty/strsignal.c') diff --git a/libiberty/strsignal.c b/libiberty/strsignal.c index 2533adce297..85639f98814 100644 --- a/libiberty/strsignal.c +++ b/libiberty/strsignal.c @@ -67,10 +67,10 @@ static void init_signal_tables PARAMS ((void)); struct signal_info { - int value; /* The numeric value from */ - const char *name; /* The equivalent symbolic value */ + const int value; /* The numeric value from */ + const char *const name; /* The equivalent symbolic value */ #ifndef HAVE_SYS_SIGLIST - const char *msg; /* Short message about this value */ + const char *const msg; /* Short message about this value */ #endif }; -- cgit v1.2.1