OSDN Git Service

Merge from pch-branch up to tag pch-commit-20020603.
[pf3gnuchains/gcc-fork.git] / gcc / hooks.c
index 387f4db..508e29c 100644 (file)
@@ -26,9 +26,31 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 #include "system.h"
 #include "hooks.h"
 
+/* Generic hook that does absolutely zappo.  */
+void
+hook_void_void ()
+{
+}
+
 /* Generic hook that takes no arguments and returns false.  */
 bool
 hook_void_bool_false ()
 {
   return false;
 }
+
+/* Generic hook that takes (tree) and returns false.  */
+bool
+hook_tree_bool_false (a)
+     tree a ATTRIBUTE_UNUSED;
+{
+  return false;
+}
+
+/* Generic hook that takes (tree, int) and does nothing.  */
+void
+hook_tree_int_void (a, b)
+     tree a ATTRIBUTE_UNUSED;
+     int b ATTRIBUTE_UNUSED;
+{
+}