aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-10-07 04:00:55 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-10-07 04:00:55 +0000
commit5ac6107c320f76013153691531b711a05baace0f (patch)
tree2c6fe73ac1058b2f809da11565a3b4102953041f
parent2b58638b467a5788cbeb2ddecb8186e50cc655e1 (diff)
downloadgcc-5ac6107c320f76013153691531b711a05baace0f.zip
gcc-5ac6107c320f76013153691531b711a05baace0f.tar.gz
gcc-5ac6107c320f76013153691531b711a05baace0f.tar.bz2
hooks.c (hook_int_void_1, [...]): Remove.
* hooks.c (hook_int_void_1, hook_void_int): Remove. * hooks.h: Remove the corresponding prototypes. From-SVN: r88657
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/hooks.c12
-rw-r--r--gcc/hooks.h2
3 files changed, 5 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ac4ef21..377e8f4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/hooks.c b/gcc/hooks.c
index 9470a4d..d091583 100644
--- a/gcc/hooks.c
+++ b/gcc/hooks.c
@@ -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)
{
}
diff --git a/gcc/hooks.h b/gcc/hooks.h
index 10966a9..b0f47b7 100644
--- a/gcc/hooks.h
+++ b/gcc/hooks.h
@@ -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 **);