aboutsummaryrefslogtreecommitdiff
path: root/libiberty/cp-demangle.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-05-08 14:35:18 +0000
committerDJ Delorie <dj@redhat.com>2001-05-08 14:35:18 +0000
commit457161bf174a1079e05270c6d8ef5d5238c74ab4 (patch)
tree12e38a5b1a6a44cb3489e62c38b70a59f27909c2 /libiberty/cp-demangle.c
parent5c65dbc1ca90fc1851e812dfcfbc186ca4a8915f (diff)
downloadgdb-457161bf174a1079e05270c6d8ef5d5238c74ab4.zip
gdb-457161bf174a1079e05270c6d8ef5d5238c74ab4.tar.gz
gdb-457161bf174a1079e05270c6d8ef5d5238c74ab4.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/cp-demangle.c')
-rw-r--r--libiberty/cp-demangle.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c
index 8419eef..a6a2c1e 100644
--- a/libiberty/cp-demangle.c
+++ b/libiberty/cp-demangle.c
@@ -3819,7 +3819,8 @@ java_demangle_v3 (mangled)
zero, indicating that some error occurred, or a demangling_t
holding the results. */
static demangling_t
-demangle_v3_with_details (const char *name)
+demangle_v3_with_details (name)
+ const char *name;
{
demangling_t dm;
status_t status;
@@ -3857,7 +3858,8 @@ demangle_v3_with_details (const char *name)
- '2' if NAME is a base object constructor, or
- '3' if NAME is a complete object allocating constructor. */
enum gnu_v3_ctor_kinds
-is_gnu_v3_mangled_ctor (const char *name)
+is_gnu_v3_mangled_ctor (name)
+ const char *name;
{
demangling_t dm = demangle_v3_with_details (name);
@@ -3878,7 +3880,8 @@ is_gnu_v3_mangled_ctor (const char *name)
- '1' if NAME is a complete object destructor, or
- '2' if NAME is a base object destructor. */
enum gnu_v3_dtor_kinds
-is_gnu_v3_mangled_dtor (const char *name)
+is_gnu_v3_mangled_dtor (name)
+ const char *name;
{
demangling_t dm = demangle_v3_with_details (name);