* decl2.c (ambiguous_decl): Fix NAME parm to be a tree, not int.
authorBrendan Kehoe <brendan@cygnus.com>
Tue, 28 Apr 1998 07:33:51 +0000 (07:33 +0000)
committerBrendan Kehoe <brendan@gcc.gnu.org>
Tue, 28 Apr 1998 07:33:51 +0000 (03:33 -0400)
From-SVN: r19466

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

index 8c2180ddc6ca90014abf690fefa7ddac1c54e27f..b88315534ab5d394ca996272961b11d2fc5b325a 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 32f90e84dbe3f7272101031fed25a69e495190a3..ac96d24bdcf74b5e5229b83f62be41e38d7972c1 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))