aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1997-08-27 08:03:41 +0000
committerJeff Law <law@gcc.gnu.org>1997-08-27 02:03:41 -0600
commit5ddc28a51fdd6ccdc04be08d0cb44e7c18e1ab09 (patch)
treed3b705d59195eec3fdb1bd4db93340a60a68124f /gcc
parentbba17b29e156ba3c6ffdc7f690fe34ca4d12fc0a (diff)
downloadgcc-5ddc28a51fdd6ccdc04be08d0cb44e7c18e1ab09.zip
gcc-5ddc28a51fdd6ccdc04be08d0cb44e7c18e1ab09.tar.gz
gcc-5ddc28a51fdd6ccdc04be08d0cb44e7c18e1ab09.tar.bz2
class.c (get_basefndecls): Make definition match declaration.
* class.c (get_basefndecls): Make definition match declaration. Something caught by the sunos compiler. From-SVN: r14961
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/class.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index f136f0c..1637cf8 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+Wed Aug 27 02:03:34 1997 Jeffrey A Law (law@cygnus.com)
+
+ * class.c (get_basefndecls): Make definition match declaration.
+
Mon Aug 25 14:30:02 1997 Jason Merrill <jason@yorick.cygnus.com>
* input.c (sub_getch): Eventually give up and release the input file.
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index 3270bff..a9624a6 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -2772,7 +2772,7 @@ merge_overrides (binfo, old, do_self, t)
overridden or hidden by FNDECL as a list. We set TREE_PURPOSE with
the overrider/hider. */
-tree
+static tree
get_basefndecls (fndecl, t)
tree fndecl, t;
{