diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-07 14:45:04 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-07 14:45:04 +0000 |
commit | 542e92711b3f5310eb8a4455c83435e3cbf6c0ae (patch) | |
tree | a0690de0f4f882e39e15d7ffb604d61ec38915f9 /include/libiberty.h | |
parent | dd5beb9db764f86affdacf16b1ecd1ec62d3cf7f (diff) | |
download | gcc-542e92711b3f5310eb8a4455c83435e3cbf6c0ae.tar.gz |
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
Diffstat (limited to 'include/libiberty.h')
-rw-r--r-- | include/libiberty.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |