aboutsummaryrefslogtreecommitdiff
path: root/libiberty/cp-demangle.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-10-07 17:24:36 +0000
committerDJ Delorie <dj@redhat.com>2001-10-07 17:24:36 +0000
commite6450fe56177c2ce3faf4601ed4a3edf42cd90eb (patch)
treeac07269b8f13ae4260a052cceae08934571c5a96 /libiberty/cp-demangle.c
parent6ce8b3699c614ee2f4e2deb7259886a1ca10a0a5 (diff)
downloadgdb-e6450fe56177c2ce3faf4601ed4a3edf42cd90eb.zip
gdb-e6450fe56177c2ce3faf4601ed4a3edf42cd90eb.tar.gz
gdb-e6450fe56177c2ce3faf4601ed4a3edf42cd90eb.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/cp-demangle.c')
-rw-r--r--libiberty/cp-demangle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c
index 5ee8a2b..b61ff2c 100644
--- a/libiberty/cp-demangle.c
+++ b/libiberty/cp-demangle.c
@@ -1557,11 +1557,11 @@ demangle_operator_name (dm, short_name, num_args)
struct operator_code
{
/* The mangled code for this operator. */
- const char *code;
+ const char *const code;
/* The source name of this operator. */
- const char *name;
+ const char *const name;
/* The number of arguments this operator takes. */
- int num_args;
+ const int num_args;
};
static const struct operator_code operators[] =