Commit 0437a5a8 by Kenneth Block Committed by Gerald Pfeifer

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
parent 099dde21
2000-11-15 Kenneth Block <kenneth.block@compaq.com> 2000-11-15 Kenneth Block <kenneth.block@compaq.com>
* cplus_dem.c: Eliminate use of DEFUN, it is obsolete and cannot
be used in GCC.
2000-11-15 Kenneth Block <kenneth.block@compaq.com>
* cplus_dem.c: Add gnat demangler. Add java to demangle style * cplus_dem.c: Add gnat demangler. Add java to demangle style
list. list.
......
...@@ -927,11 +927,11 @@ cplus_demangle (mangled, options) ...@@ -927,11 +927,11 @@ cplus_demangle (mangled, options)
ELEMENT_SIZE, grow it to contain at least MIN_SIZE objects, ELEMENT_SIZE, grow it to contain at least MIN_SIZE objects,
updating *OLD_VECT and *SIZE as necessary. */ updating *OLD_VECT and *SIZE as necessary. */
static void static void
DEFUN (grow_vect, (old_vect, size, min_size, element_size), grow_vect (old_vect, size, min_size, element_size)
void** old_vect void** old_vect;
AND size_t* size size_t* size;
AND size_t min_size size_t min_size;
AND int element_size) int element_size;
{ {
if (*size < min_size) { if (*size < min_size) {
*size *= 2; *size *= 2;
...@@ -951,9 +951,9 @@ DEFUN (grow_vect, (old_vect, size, min_size, element_size), ...@@ -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. The resulting string is valid until the next call of ada_demangle.
*/ */
static char * static char *
DEFUN (ada_demangle, (mangled, style, option), ada_demangle (mangled, option)
const char* mangled const char* mangled;
AND int option ATTRIBUTE_UNUSED) int option;
{ {
int i, j; int i, j;
int len0; int len0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment