hooks.c (hook_int_void_1, [...]): Remove.
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 7 Oct 2004 04:00:55 +0000 (04:00 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 7 Oct 2004 04:00:55 +0000 (04:00 +0000)
* hooks.c (hook_int_void_1, hook_void_int): Remove.
* hooks.h: Remove the corresponding prototypes.

From-SVN: r88657

gcc/ChangeLog
gcc/hooks.c
gcc/hooks.h

index ac4ef21..377e8f4 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-07  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * hooks.c (hook_int_void_1, hook_void_int): Remove.
+       * hooks.h: Remove the corresponding prototypes.
+
 2004-10-06  Andrew Pinski  <pinskia@physics.uc.edu>
 
        PR middle-end/17849
index 9470a4d..d091583 100644 (file)
@@ -55,13 +55,6 @@ hook_int_void_no_regs (void)
   return NO_REGS;
 }
 
-/* Generic hook that returns 1.  */
-int
-hook_int_void_1 (void)
-{
-  return 1;
-}
-
 /* Generic hook that takes (bool) and returns false.  */
 bool
 hook_bool_bool_false (bool a ATTRIBUTE_UNUSED)
@@ -152,11 +145,6 @@ hook_uint_uint_constcharptrptr_0 (unsigned int a ATTRIBUTE_UNUSED,
 }
 
 void
-hook_void_int (int b ATTRIBUTE_UNUSED)
-{
-}
-
-void
 hook_void_tree (tree a ATTRIBUTE_UNUSED)
 {
 }
index 10966a9..b0f47b7 100644 (file)
@@ -40,7 +40,6 @@ extern bool hook_bool_rtx_int_int_intp_false (rtx, int, int, int *);
 extern bool hook_bool_constcharptr_size_t_false (const char *, size_t);
 
 extern void hook_void_void (void);
-extern void hook_void_int (int);
 extern void hook_void_constcharptr (const char *);
 extern void hook_void_FILEptr_constcharptr (FILE *, const char *);
 extern void hook_void_tree (tree);
@@ -51,7 +50,6 @@ extern int hook_int_tree_tree_1 (tree, tree);
 extern int hook_int_rtx_0 (rtx);
 extern int hook_int_size_t_constcharptr_int_0 (size_t, const char *, int);
 extern int hook_int_void_no_regs (void);
-extern int hook_int_void_1 (void);
 
 extern unsigned hook_uint_uint_constcharptrptr_0 (unsigned, const char **);