aboutsummaryrefslogtreecommitdiff
path: root/gcc/langhooks.c
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2003-03-19 20:34:10 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2003-03-19 20:34:10 +0000
commit2bd3ecadd83939fd4bc531d4f6ab11e2326892b4 (patch)
treef55a99d28f04841642f126e415df18047f0526cd /gcc/langhooks.c
parent784fb70e84d78a83a6599824b8b5e44eb85ba633 (diff)
downloadgcc-2bd3ecadd83939fd4bc531d4f6ab11e2326892b4.zip
gcc-2bd3ecadd83939fd4bc531d4f6ab11e2326892b4.tar.gz
gcc-2bd3ecadd83939fd4bc531d4f6ab11e2326892b4.tar.bz2
c-common.h (c_dump_tree), [...]): Change return type from 'int' to 'bool'.
(gcc) * c-common.h (c_dump_tree), c-dump.c (c_dump_tree), langhooks-def.h (lhd_tree_dump_dump_tree), langhooks.c (lhd_tree_dump_dump_tree), langhooks.h (*dump_tree): Change return type from 'int' to 'bool'. Replace 0 and 1 with true and false in return statements. (cp) * dump.c (cp_dump_tree), cp-tree.h (cp_dump_tree): Change return type from 'int' to 'bool'. Replace 0 and 1 with true and false in return statements. (java) * lang.c (java_dump_tree): Change return type from 'int' to 'bool'. Replace 0 and 1 with true and false in return statements. From-SVN: r64596
Diffstat (limited to 'gcc/langhooks.c')
-rw-r--r--gcc/langhooks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c
index cf343eb..16592a9 100644
--- a/gcc/langhooks.c
+++ b/gcc/langhooks.c
@@ -426,12 +426,12 @@ lhd_tree_inlining_convert_parm_for_inlining (parm, value, fndecl)
nodes. Returns nonzero if it does not want the usual dumping of the
second argument. */
-int
+bool
lhd_tree_dump_dump_tree (di, t)
void *di ATTRIBUTE_UNUSED;
tree t ATTRIBUTE_UNUSED;
{
- return 0;
+ return false;
}
/* lang_hooks.tree_dump.type_qual: Determine type qualifiers in a