summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/c-dump.c
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2004-07-28 03:11:36 +0000
committerkan <kan@FreeBSD.org>2004-07-28 03:11:36 +0000
commit5e00ec74d8ce58f99801200d4d3d0412c7cc1b28 (patch)
tree052f4bb635f2bea2c5e350bd60c902be100a0d1e /contrib/gcc/c-dump.c
parent87b8398a7d9f9bf0e28bbcd54a4fc27db2125f38 (diff)
downloadFreeBSD-src-5e00ec74d8ce58f99801200d4d3d0412c7cc1b28.zip
FreeBSD-src-5e00ec74d8ce58f99801200d4d3d0412c7cc1b28.tar.gz
Gcc 3.4.2 20040728.
Diffstat (limited to 'contrib/gcc/c-dump.c')
-rw-r--r--contrib/gcc/c-dump.c18
1 files changed, 7 insertions, 11 deletions
diff --git a/contrib/gcc/c-dump.c b/contrib/gcc/c-dump.c
index 65407a5..5403bf8 100644
--- a/contrib/gcc/c-dump.c
+++ b/contrib/gcc/c-dump.c
@@ -21,6 +21,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "config.h"
#include "system.h"
+#include "coretypes.h"
+#include "tm.h"
#include "tree.h"
#include "c-tree.h"
#include "tree-dump.h"
@@ -28,9 +30,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
/* Dump information common to statements from STMT. */
void
-dump_stmt (di, t)
- dump_info_p di;
- tree t;
+dump_stmt (dump_info_p di, tree t)
{
dump_int (di, "line", STMT_LINENO (t));
}
@@ -38,19 +38,15 @@ dump_stmt (di, t)
/* Dump the next statement after STMT. */
void
-dump_next_stmt (di, t)
- dump_info_p di;
- tree t;
+dump_next_stmt (dump_info_p di, tree t)
{
dump_child ("next", TREE_CHAIN (t));
}
/* Dump any C-specific tree codes and attributes of common codes. */
-int
-c_dump_tree (dump_info, t)
- void *dump_info;
- tree t;
+bool
+c_dump_tree (void *dump_info, tree t)
{
enum tree_code code;
dump_info_p di = (dump_info_p) dump_info;
@@ -192,5 +188,5 @@ c_dump_tree (dump_info, t)
break;
}
- return 0;
+ return false;
}
OpenPOWER on IntegriCloud