aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-07-19 05:28:57 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-07-19 05:28:57 +0000
commitd94f5c58a877bebee0663602bcda531df49e2a77 (patch)
tree230cd7644a758906ecc36a6cc14428897255f553 /libiberty
parentdf192962a2dad2ac23b0d8f74a3f4e317e3ee30d (diff)
downloadgcc-d94f5c58a877bebee0663602bcda531df49e2a77.zip
gcc-d94f5c58a877bebee0663602bcda531df49e2a77.tar.gz
gcc-d94f5c58a877bebee0663602bcda531df49e2a77.tar.bz2
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/ChangeLog5
-rw-r--r--libiberty/cplus-dem.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 4d3ec6c..cab8f74 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 62a7b4e..b68fc6f 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;