From d94f5c58a877bebee0663602bcda531df49e2a77 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sun, 19 Jul 1998 05:28:57 +0000 Subject: 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 --- gcc/ChangeLog | 5 +++++ gcc/cplus-dem.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b7fbd76..09417a6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sun Jul 19 08:23:53 1998 Kaveh R. Ghazi + + * cplus-dem.c (demangle_nested_args): Make function definition + static to match the prototype. + Fri Jul 17 14:58:44 1998 Richard Henderson * alloca.c: Respect USE_C_ALLOCA. diff --git a/gcc/cplus-dem.c b/gcc/cplus-dem.c index 62a7b4e..b68fc6f 100644 --- a/gcc/cplus-dem.c +++ b/gcc/cplus-dem.c @@ -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; -- cgit v1.1