summaryrefslogtreecommitdiff
path: root/gcc/cp/dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/dump.c')
-rw-r--r--gcc/cp/dump.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c
index dea990aa4c2..98c1fc49d87 100644
--- a/gcc/cp/dump.c
+++ b/gcc/cp/dump.c
@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */
#include "system.h"
#include "tree.h"
#include "cp-tree.h"
-#include "c-dump.h"
+#include "tree-dump.h"
static void dump_access
PARAMS ((dump_info_p, tree));
@@ -208,11 +208,12 @@ dump_op (di, t)
}
int
-cp_dump_tree (di, t)
- dump_info_p di;
+cp_dump_tree (dump_info, t)
+ void *dump_info;
tree t;
{
enum tree_code code;
+ dump_info_p di = (dump_info_p) dump_info;
/* Figure out what kind of node this is. */
code = TREE_CODE (t);