Commit ee42dd9d by Nathanael Nerode

* dump.c: ANSIfy function declarations and definitions.

From-SVN: r61691
parent 97286f7f
2003-01-23 Nathanael Nerode <neroden@gcc.gnu.org> 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. * cp-tree.h, decl.h: Get rid of PARAMS. Again.
2003-01-22 Mark Mitchell <mark@codesourcery.com> 2003-01-22 Mark Mitchell <mark@codesourcery.com>
......
...@@ -27,19 +27,15 @@ Boston, MA 02111-1307, USA. */ ...@@ -27,19 +27,15 @@ Boston, MA 02111-1307, USA. */
#include "cp-tree.h" #include "cp-tree.h"
#include "tree-dump.h" #include "tree-dump.h"
static void dump_access static void dump_access (dump_info_p, tree);
PARAMS ((dump_info_p, tree));
static void dump_op static void dump_op (dump_info_p, tree);
PARAMS ((dump_info_p, tree));
/* Dump a representation of the accessibility information associated /* Dump a representation of the accessibility information associated
with T. */ with T. */
static void static void
dump_access (di, t) dump_access (dump_info_p di, tree t)
dump_info_p di;
tree t;
{ {
if (TREE_PROTECTED(t)) if (TREE_PROTECTED(t))
dump_string (di, "protected"); dump_string (di, "protected");
...@@ -53,9 +49,7 @@ dump_access (di, t) ...@@ -53,9 +49,7 @@ dump_access (di, t)
operator associated with node t. */ operator associated with node t. */
static void static void
dump_op (di, t) dump_op (dump_info_p di, tree t)
dump_info_p di;
tree t;
{ {
switch (DECL_OVERLOADED_OPERATOR_P (t)) { switch (DECL_OVERLOADED_OPERATOR_P (t)) {
case NEW_EXPR: case NEW_EXPR:
...@@ -209,9 +203,7 @@ dump_op (di, t) ...@@ -209,9 +203,7 @@ dump_op (di, t)
} }
int int
cp_dump_tree (dump_info, t) cp_dump_tree (void* dump_info, tree t)
void *dump_info;
tree t;
{ {
enum tree_code code; enum tree_code code;
dump_info_p di = (dump_info_p) dump_info; dump_info_p di = (dump_info_p) dump_info;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment