summaryrefslogtreecommitdiff
path: root/libiberty/cp-demangle.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-07 21:13:14 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-07 21:13:14 +0000
commitda8bd873fe10f6278a039cd7feea5b00fb393221 (patch)
treeb85046f86e463a4f12518452c722b1a0c944bb2b /libiberty/cp-demangle.c
parent4b7bc488905309a3a9fa951bc3df7961076385d4 (diff)
downloadgcc-da8bd873fe10f6278a039cd7feea5b00fb393221.tar.gz
libiberty:
* configure.in (ac_libiberty_warn_cflags): Add -pedantic. * choose-temp.c (try, choose_temp_base, make_temp_file): Constify. * cp-demangle.c (demangle_char): Change parameter from char to int. (demangle_expression, demangle_expr_primary): Remove extra semi-colon in prototype. * dyn-string.c (dyn_string_append_char): Change parameter from char to int. * memcmp.c (memcmp): Constify. * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with __extension__. * partition.c (elem_compare): Prototype. Don't cast away const-ness. * setenv.c (setenv): Use braces to avoid ambiguous `else'. include: * demangle.h (demangling_styles): Remove trailing comma in enum. * dyn-string.h (dyn_string_append_char): Change parameter from char to int. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34447 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/cp-demangle.c')
-rw-r--r--libiberty/cp-demangle.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c
index 502035f4ff2..2feac6c30ef 100644
--- a/libiberty/cp-demangle.c
+++ b/libiberty/cp-demangle.c
@@ -713,7 +713,7 @@ demangling_delete (dm)
structure. */
static status_t demangle_char
- PARAMS ((demangling_t, char));
+ PARAMS ((demangling_t, int));
static status_t demangle_mangled_name
PARAMS ((demangling_t));
static status_t demangle_encoding
@@ -765,11 +765,11 @@ static status_t demangle_literal
static status_t demangle_template_arg
PARAMS ((demangling_t));
static status_t demangle_expression
- PARAMS ((demangling_t));;
+ PARAMS ((demangling_t));
static status_t demangle_scope_expression
PARAMS ((demangling_t));
static status_t demangle_expr_primary
- PARAMS ((demangling_t));;
+ PARAMS ((demangling_t));
static status_t demangle_substitution
PARAMS ((demangling_t, int *, int *));
static status_t demangle_local_name
@@ -789,7 +789,7 @@ static status_t cp_demangle
static status_t
demangle_char (dm, c)
demangling_t dm;
- char c;
+ int c;
{
static char *error_message = NULL;