aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBernardo Innocenti <bernie@develer.com>2004-07-25 02:42:49 +0200
committerBernardo Innocenti <bernie@gcc.gnu.org>2004-07-25 02:42:49 +0200
commit02a0b1f29e8b1eeb52e8f6ea0408b2efdd4bdfa8 (patch)
treeb6ee8c7c631f6b4acd101976507ce9f7a0b65f3f /gcc
parentca79179c0a12a381b7ddef2c47aa805795456776 (diff)
downloadgcc-02a0b1f29e8b1eeb52e8f6ea0408b2efdd4bdfa8.zip
gcc-02a0b1f29e8b1eeb52e8f6ea0408b2efdd4bdfa8.tar.gz
gcc-02a0b1f29e8b1eeb52e8f6ea0408b2efdd4bdfa8.tar.bz2
langhooks-def.h (lhd_staticp): Change return type from int to bool in prototype to match definition.
* langhooks-def.h (lhd_staticp): Change return type from int to bool in prototype to match definition. From-SVN: r85136
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/langhooks-def.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f4c844f..343d0e3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-07-25 Bernardo Innocenti <bernie@develer.com>
+ * langhooks-def.h (lhd_staticp): Change return type from int to
+ bool in prototype to match definition.
+
+2004-07-25 Bernardo Innocenti <bernie@develer.com>
+
* system.h (bool, true, false): Don't redefine as preprocessor macros
in C++.
diff --git a/gcc/langhooks-def.h b/gcc/langhooks-def.h
index 1f7f32c..e31c513 100644
--- a/gcc/langhooks-def.h
+++ b/gcc/langhooks-def.h
@@ -50,7 +50,7 @@ extern tree lhd_return_null_tree_v (void);
extern tree lhd_return_null_tree (tree);
extern tree lhd_do_nothing_iii_return_null_tree (int, int, int);
extern int lhd_safe_from_p (rtx, tree);
-extern int lhd_staticp (tree);
+extern bool lhd_staticp (tree);
extern int lhd_unsafe_for_reeval (tree);
extern void lhd_print_tree_nothing (FILE *, tree, int);
extern const char *lhd_decl_printable_name (tree, int);