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
This commit is contained in:
Kaveh R. Ghazi 1998-07-19 05:28:57 +00:00 committed by Kaveh Ghazi
parent df192962a2
commit d94f5c58a8
4 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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;

View File

@ -1,3 +1,8 @@
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

View File

@ -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;