summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-25 00:42:49 +0000
committerbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-25 00:42:49 +0000
commit1fb66fffae857494550ce17f0e0d93d218e0a8d2 (patch)
treeb6ee8c7c631f6b4acd101976507ce9f7a0b65f3f
parent0a8d43eb8412bd18e5f999e5b665646f792ce84c (diff)
downloadppe42-gcc-1fb66fffae857494550ce17f0e0d93d218e0a8d2.tar.gz
ppe42-gcc-1fb66fffae857494550ce17f0e0d93d218e0a8d2.zip
* langhooks-def.h (lhd_staticp): Change return type from int to
bool in prototype to match definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85136 138bc75d-0d04-0410-961f-82ee72b054a4
-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 f4c844fa554..343d0e381b6 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 1f7f32c6b76..e31c513401d 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);
OpenPOWER on IntegriCloud