* dump.c: ANSIfy function declarations and definitions.
authorNathanael Nerode <neroden@gcc.gnu.org>
Fri, 24 Jan 2003 00:45:55 +0000 (00:45 +0000)
committerNathanael Nerode <neroden@gcc.gnu.org>
Fri, 24 Jan 2003 00:45:55 +0000 (00:45 +0000)
From-SVN: r61691

gcc/cp/ChangeLog
gcc/cp/dump.c

index a0a4216964dfd6bfd2c9c5015e614b94462a0675..a7f9dfabde0093b7bbdf74b39ec5b6a8b5c94f6b 100644 (file)
@@ -1,5 +1,7 @@
 2003-01-23  Nathanael Nerode  <neroden@gcc.gnu.org>
 
+       * dump.c: ANSIfy function declarations and definitions.
+
        * cp-tree.h, decl.h: Get rid of PARAMS.  Again.
 
 2003-01-22  Mark Mitchell  <mark@codesourcery.com>
index b03dc82f1341ebc41c18972af8d73b3b8917f1ce..fcd2b4f30dff45bbe03dda84d5982ae8f3f5c9c9 100644 (file)
@@ -27,19 +27,15 @@ Boston, MA 02111-1307, USA.  */
 #include "cp-tree.h"
 #include "tree-dump.h"
 
-static void dump_access
-  PARAMS ((dump_info_p, tree));
+static void dump_access (dump_info_p, tree);
 
-static void dump_op
-  PARAMS ((dump_info_p, tree));
+static void dump_op (dump_info_p, tree);
 
 /* Dump a representation of the accessibility information associated
    with T.  */
 
 static void
-dump_access (di, t)
-     dump_info_p di;
-     tree t;
+dump_access (dump_info_p di, tree t)
 {
   if (TREE_PROTECTED(t))
     dump_string (di, "protected");
@@ -53,9 +49,7 @@ dump_access (di, t)
    operator associated with node t.  */
 
 static void
-dump_op (di, t)
-     dump_info_p di;
-     tree t;
+dump_op (dump_info_p di, tree t)
 {
   switch (DECL_OVERLOADED_OPERATOR_P (t)) {
     case NEW_EXPR:
@@ -209,9 +203,7 @@ dump_op (di, t)
 }
 
 int
-cp_dump_tree (dump_info, t)
-     void *dump_info;
-     tree t;
+cp_dump_tree (void* dump_info, tree t)
 {
   enum tree_code code;
   dump_info_p di = (dump_info_p) dump_info;