Commit d94f5c58 by Kaveh R. Ghazi Committed by Kaveh Ghazi

This fixes a problem when using KNR compilers.

        * cplus-dem.c (demangle_nested_args): Make function definition
        static to match the prototype.

From-SVN: r21281
parent df192962
Sun Jul 19 08:23:53 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cplus-dem.c (demangle_nested_args): Make function definition
static to match the prototype.
Fri Jul 17 14:58:44 1998 Richard Henderson <rth@cygnus.com>
* alloca.c: Respect USE_C_ALLOCA.
......
......@@ -3350,7 +3350,7 @@ demangle_args (work, mangled, declp)
/* Like demangle_args, but for demangling the argument lists of function
and method pointers or references, not top-level declarations. */
int
static int
demangle_nested_args (work, mangled, declp)
struct work_stuff *work;
const char **mangled;
......
Sun Jul 19 08:23:17 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cplus-dem.c (demangle_nested_args): Make function definition
static to match the prototype.
1998-07-13 Mark Mitchell <mark@markmitchell.com>
* cplus-dem.c: Incorporate changes from GCC version not present in
......
......@@ -3350,7 +3350,7 @@ demangle_args (work, mangled, declp)
/* Like demangle_args, but for demangling the argument lists of function
and method pointers or references, not top-level declarations. */
int
static int
demangle_nested_args (work, mangled, declp)
struct work_stuff *work;
const char **mangled;
......
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