aboutsummaryrefslogtreecommitdiff
path: root/libiberty/cplus-dem.c
diff options
context:
space:
mode:
authorKenneth Block <kenneth.block@compaq.com>2000-11-15 17:35:20 +0000
committerGerald Pfeifer <gerald@gcc.gnu.org>2000-11-15 17:35:20 +0000
commit0437a5a8a8a1890e3ce2a4a0dbce8901cfab9a52 (patch)
tree4f92dff1c88a78f0d1997e81b7583e078e376fae /libiberty/cplus-dem.c
parent099dde21d2cc95cc752b0529fb762210e7be9a4c (diff)
downloadgcc-0437a5a8a8a1890e3ce2a4a0dbce8901cfab9a52.zip
gcc-0437a5a8a8a1890e3ce2a4a0dbce8901cfab9a52.tar.gz
gcc-0437a5a8a8a1890e3ce2a4a0dbce8901cfab9a52.tar.bz2
cplus_dem.c: Eliminate use of DEFUN, it is obsolete and cannot be used in GCC.
* cplus_dem.c: Eliminate use of DEFUN, it is obsolete and cannot be used in GCC. From-SVN: r37483
Diffstat (limited to 'libiberty/cplus-dem.c')
-rw-r--r--libiberty/cplus-dem.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c
index 53549ca..ff72322 100644
--- a/libiberty/cplus-dem.c
+++ b/libiberty/cplus-dem.c
@@ -927,11 +927,11 @@ cplus_demangle (mangled, options)
ELEMENT_SIZE, grow it to contain at least MIN_SIZE objects,
updating *OLD_VECT and *SIZE as necessary. */
static void
-DEFUN (grow_vect, (old_vect, size, min_size, element_size),
- void** old_vect
- AND size_t* size
- AND size_t min_size
- AND int element_size)
+grow_vect (old_vect, size, min_size, element_size)
+ void** old_vect;
+ size_t* size;
+ size_t min_size;
+ int element_size;
{
if (*size < min_size) {
*size *= 2;
@@ -951,9 +951,9 @@ DEFUN (grow_vect, (old_vect, size, min_size, element_size),
The resulting string is valid until the next call of ada_demangle.
*/
static char *
-DEFUN (ada_demangle, (mangled, style, option),
- const char* mangled
- AND int option ATTRIBUTE_UNUSED)
+ada_demangle (mangled, option)
+ const char* mangled;
+ int option;
{
int i, j;
int len0;