C++ bootstrap (part 5/n): Fix prototype of lhd_staticp().
Bernardo Innocenti
bernie@develer.com
Sun Jul 25 16:56:00 GMT 2004
Hello,
a change in the return-type of lhd_staticp() from int to bool had
uninintentionally slipped into the ARG_UNUSED patch. It was meant
for a later patch.
To avoid breaking bootstrap until the rest of my patch goes in,
I've adjusted the prototype accordingly.
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.
Index: langhooks-def.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/langhooks-def.h,v
retrieving revision 1.87
diff -u -p -r1.87 langhooks-def.h
--- langhooks-def.h 17 Jul 2004 19:34:50 -0000 1.87
+++ langhooks-def.h 25 Jul 2004 00:34:40 -0000
@@ -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);
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/
More information about the Gcc-patches
mailing list