diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1998-07-19 05:28:57 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-07-19 05:28:57 +0000 |
commit | d94f5c58a877bebee0663602bcda531df49e2a77 (patch) | |
tree | 230cd7644a758906ecc36a6cc14428897255f553 /libiberty | |
parent | df192962a2dad2ac23b0d8f74a3f4e317e3ee30d (diff) | |
download | gcc-d94f5c58a877bebee0663602bcda531df49e2a77.tar.gz |
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
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/cplus-dem.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 4d3ec6c27a0..cab8f7402c9 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -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 diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c index 62a7b4ec4ed..b68fc6ffc19 100644 --- a/libiberty/cplus-dem.c +++ b/libiberty/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; |