aboutsummaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
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.h
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.h')
-rw-r--r--gcc/langhooks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h
index 4696c6f..8245495 100644
--- a/gcc/langhooks.h
+++ b/gcc/langhooks.h
@@ -90,7 +90,7 @@ struct lang_hooks_for_tree_dump
{
/* Dump language-specific parts of tree nodes. Returns nonzero if it
does not want the usual dumping of the second argument. */
- int (*dump_tree) PARAMS ((void *, tree));
+ bool (*dump_tree) PARAMS ((void *, tree));
/* Determine type qualifiers in a language-specific way. */
int (*type_quals) PARAMS ((tree));