aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-01-18 15:04:37 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-01-18 15:04:37 +0000
commitcf4d5c758accbfd128428d4d7e1c50261ec12c57 (patch)
tree8614c77c5f8708b1fc8aa161a3b5a9067bf870c8
parent6e9ca1fa55a75ea831596c20d817c36ef1b1f320 (diff)
downloadgcc-cf4d5c758accbfd128428d4d7e1c50261ec12c57.zip
gcc-cf4d5c758accbfd128428d4d7e1c50261ec12c57.tar.gz
gcc-cf4d5c758accbfd128428d4d7e1c50261ec12c57.tar.bz2
reg-stack.c (reg_to_stack): Make it static.
* reg-stack.c (reg_to_stack): Make it static. * rtl.h: Remove the prototype for reg_to_stack. From-SVN: r109890
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/reg-stack.c2
-rw-r--r--gcc/rtl.h3
3 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 72c3256..71df6da 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -10,6 +10,9 @@
* postreload-gcse.c (gcse_after_reload_main): Make it static.
* rtl.h: Remove the prototype for gcse_after_reload_main.
+ * reg-stack.c (reg_to_stack): Make it static.
+ * rtl.h: Remove the prototype for reg_to_stack.
+
2006-01-18 Eric Botcazou <ebotcazou@adacore.com>
* config/alpha/alpha.c (alpha_split_tfmode_pair): Rename into
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c
index 2811a6b..fc59118 100644
--- a/gcc/reg-stack.c
+++ b/gcc/reg-stack.c
@@ -3023,7 +3023,7 @@ convert_regs (FILE *file)
code duplication created when the converter inserts pop insns on
the edges. */
-bool
+static bool
reg_to_stack (FILE *file)
{
basic_block bb;
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 0edff24..c70c017 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2075,9 +2075,6 @@ extern void dump_local_alloc (FILE *);
/* In reload1.c */
extern int function_invariant_p (rtx);
-/* In reg-stack.c */
-extern bool reg_to_stack (FILE *);
-
/* In calls.c */
enum libcall_type
{