aboutsummaryrefslogtreecommitdiff
path: root/libiberty/cp-demint.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-03-27 05:28:42 +0000
committerDJ Delorie <dj@redhat.com>2005-03-27 05:28:42 +0000
commit9334f9c6cd576128ec4fc891b5fcf267a7fca7fb (patch)
treefda195cba89e4178623ea39866f41e6e28eb67c1 /libiberty/cp-demint.c
parent8da8e0b3f397df66d6e1c03470f4e6c31a63d292 (diff)
downloadfsf-binutils-gdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.zip
fsf-binutils-gdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.tar.gz
fsf-binutils-gdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/cp-demint.c')
-rw-r--r--libiberty/cp-demint.c25
1 files changed, 9 insertions, 16 deletions
diff --git a/libiberty/cp-demint.c b/libiberty/cp-demint.c
index 533202d..8c200ba 100644
--- a/libiberty/cp-demint.c
+++ b/libiberty/cp-demint.c
@@ -56,11 +56,10 @@
/* Fill in most component types. */
int
-cplus_demangle_fill_component (p, type, left, right)
- struct demangle_component *p;
- enum demangle_component_type type;
- struct demangle_component *left;
- struct demangle_component *right;
+cplus_demangle_fill_component (struct demangle_component *p,
+ enum demangle_component_type type,
+ struct demangle_component *left,
+ struct demangle_component *right)
{
if (p == NULL)
return 0;
@@ -130,9 +129,8 @@ cplus_demangle_fill_component (p, type, left, right)
/* Fill in a DEMANGLE_COMPONENT_BUILTIN_TYPE. */
int
-cplus_demangle_fill_builtin_type (p, typename)
- struct demangle_component *p;
- const char *typename;
+cplus_demangle_fill_builtin_type (struct demangle_component *p,
+ const char *typename)
{
int len;
unsigned int i;
@@ -156,10 +154,8 @@ cplus_demangle_fill_builtin_type (p, typename)
/* Fill in a DEMANGLE_COMPONENT_OPERATOR. */
int
-cplus_demangle_fill_operator (p, opname, args)
- struct demangle_component *p;
- const char *opname;
- int args;
+cplus_demangle_fill_operator (struct demangle_component *p,
+ const char *opname, int args)
{
int len;
unsigned int i;
@@ -184,10 +180,7 @@ cplus_demangle_fill_operator (p, opname, args)
/* Translate a mangled name into components. */
struct demangle_component *
-cplus_demangle_v3_components (mangled, options, mem)
- const char *mangled;
- int options;
- void **mem;
+cplus_demangle_v3_components (const char *mangled, int options, void **mem)
{
size_t len;
int type;