From 0be6abca220b75aa5a3394fc1f89705aa37c0ebf Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sun, 7 Oct 2001 14:45:04 +0000 Subject: 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 --- include/libiberty.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libiberty.h') diff --git a/include/libiberty.h b/include/libiberty.h index 315d3106c4b..9501365c6ee 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -51,7 +51,7 @@ extern "C" { /* Build an argument vector from a string. Allocates memory using malloc. Use freeargv to free the vector. */ -extern char **buildargv PARAMS ((char *)) ATTRIBUTE_MALLOC; +extern char **buildargv PARAMS ((const char *)) ATTRIBUTE_MALLOC; /* Free a vector returned by buildargv. */ -- cgit v1.2.1