aboutsummaryrefslogtreecommitdiff
path: root/include/demangle.h
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 /include/demangle.h
parent6ce8b3699c614ee2f4e2deb7259886a1ca10a0a5 (diff)
downloadgdb-e6450fe56177c2ce3faf4601ed4a3edf42cd90eb.zip
gdb-e6450fe56177c2ce3faf4601ed4a3edf42cd90eb.tar.gz
gdb-e6450fe56177c2ce3faf4601ed4a3edf42cd90eb.tar.bz2
merge from gcc
Diffstat (limited to 'include/demangle.h')
-rw-r--r--include/demangle.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/demangle.h b/include/demangle.h
index dc1e1f1..a314a24 100644
--- a/include/demangle.h
+++ b/include/demangle.h
@@ -1,5 +1,5 @@
/* Defs for interface to demanglers.
- Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000
+ Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@ -94,11 +94,11 @@ extern enum demangling_styles
/* Provide information about the available demangle styles. This code is
pulled from gdb into libiberty because it is useful to binutils also. */
-extern struct demangler_engine
+extern const struct demangler_engine
{
- const char *demangling_style_name;
- enum demangling_styles demangling_style;
- const char *demangling_style_doc;
+ const char *const demangling_style_name;
+ const enum demangling_styles demangling_style;
+ const char *const demangling_style_doc;
} libiberty_demanglers[];
extern char *