* decl2.c (ambiguous_decl): Fix NAME parm to be a tree, not int.
authorbrendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Apr 1998 07:33:51 +0000 (07:33 +0000)
committerbrendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Apr 1998 07:33:51 +0000 (07:33 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19466 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/decl2.c

index 8c2180d..b883155 100644 (file)
@@ -1,3 +1,7 @@
+1998-04-28  Brendan Kehoe  <brendan@cygnus.com>
+
+       * decl2.c (ambiguous_decl): Fix NAME parm to be a tree, not int.
+
 Mon Apr 27 13:58:10 1998  Mark Mitchell  <mmitchell@usa.net>
 
        * decl.c (maybe_push_to_top_level): Always clear
index 32f90e8..ac96d24 100644 (file)
@@ -50,7 +50,7 @@ static void finish_sigtable_vardecl PROTO((tree, tree));
 static int is_namespace_ancestor PROTO((tree, tree));
 static tree namespace_ancestor PROTO((tree, tree));
 static void add_using_namespace PROTO((tree, tree, int));
-static tree ambiguous_decl PROTO((int, tree, tree));
+static tree ambiguous_decl PROTO((tree, tree, tree));
 
 extern int current_class_depth;
 
@@ -3734,8 +3734,7 @@ add_using_namespace (user, used, indirect)
    XXX I don't want to repeat the entire duplicate_decls here */
 static tree
 ambiguous_decl (name, val1, val2)
-     int name;
-     tree val1, val2;
+     tree name, val1, val2;
 {
   my_friendly_assert (val1 != val2, 376);
   if (is_overloaded_fn (val1) && is_overloaded_fn (val1))