summaryrefslogtreecommitdiff
path: root/libiberty/cp-demangle.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-10-07 17:24:36 +0000
committerDJ Delorie <dj@delorie.com>2001-10-07 17:24:36 +0000
commit5849f895508122d117627bfddf595a51eedab5c0 (patch)
treeb60cf6a44d847600bfe9337c565df06e95d20694 /libiberty/cp-demangle.c
parent6aaed9d2f5048ee39103ba0782588562e726d98d (diff)
downloadgdb-5849f895508122d117627bfddf595a51eedab5c0.tar.gz
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 5ee8a2b457c..b61ff2c2c57 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[] =