aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-03-07 13:52:09 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-03-07 13:52:09 +0000
commit6db31844ad5b459e9f5ad0e306676bba01ea589b (patch)
tree0e6606b0487fd55d06f8332075ef3a25eaf2881c
parentcf0fa607b94c0ebdd338221977a81461467877ad (diff)
downloadgcc-6db31844ad5b459e9f5ad0e306676bba01ea589b.zip
gcc-6db31844ad5b459e9f5ad0e306676bba01ea589b.tar.gz
gcc-6db31844ad5b459e9f5ad0e306676bba01ea589b.tar.bz2
recog.c (verify_changes): Make it static.
* recog.c (verify_changes): Make it static. * recog.h: Remove the corresponding prototype. From-SVN: r96015
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/recog.c2
-rw-r--r--gcc/recog.h1
3 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c846464..492366e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -13,6 +13,9 @@
reload_inheritance_insn, reload_override_in,
reload_spill_index): Make them static.
+ * recog.c (verify_changes): Make it static.
+ * recog.h: Remove the corresponding prototype.
+
2005-03-07 David Billinghurst <David.Billinghurst@riotinto.com>
* config/i386/cygwin1.c(mingw_scan): Use xstrdup in calls to putenv.
diff --git a/gcc/recog.c b/gcc/recog.c
index 224df47..d81ae5b 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -297,7 +297,7 @@ num_changes_pending (void)
/* Tentatively apply the changes numbered NUM and up.
Return 1 if all changes are valid, zero otherwise. */
-int
+static int
verify_changes (int num)
{
int i;
diff --git a/gcc/recog.h b/gcc/recog.h
index d4ded6c..e6222a5 100644
--- a/gcc/recog.h
+++ b/gcc/recog.h
@@ -75,7 +75,6 @@ extern int check_asm_operands (rtx);
extern int asm_operand_ok (rtx, const char *);
extern int validate_change (rtx, rtx *, rtx, int);
extern int insn_invalid_p (rtx);
-extern int verify_changes (int);
extern void confirm_change_group (void);
extern int apply_change_group (void);
extern int num_validated_changes (void);