aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-01-18 15:02:11 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-01-18 15:02:11 +0000
commitefa2fa3436bc4f15c544c888ed4d9e60a1d02f03 (patch)
tree2b0a5914c7fd1a70210b1a6020bf2b5ac0179f14 /gcc
parent7399bcb0fa6d1d49076af0ec79d9ae081eef1fbc (diff)
downloadgcc-efa2fa3436bc4f15c544c888ed4d9e60a1d02f03.zip
gcc-efa2fa3436bc4f15c544c888ed4d9e60a1d02f03.tar.gz
gcc-efa2fa3436bc4f15c544c888ed4d9e60a1d02f03.tar.bz2
modulo-sched.c (sms_schedule): Make it static.
* modulo-sched.c (sms_schedule): Make it static. * rtl.h: Remove the prototype for sms_schedule. From-SVN: r109888
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/modulo-sched.c2
-rw-r--r--gcc/rtl.h3
3 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3827a80..5547f30 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -4,6 +4,9 @@
* basic-block.h: Remove the prototype for
optimize_mode_switching.
+ * modulo-sched.c (sms_schedule): Make it static.
+ * rtl.h: Remove the prototype for sms_schedule.
+
2006-01-18 Eric Botcazou <ebotcazou@adacore.com>
* config/alpha/alpha.c (alpha_split_tfmode_pair): Rename into
diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c
index a669bb8..ab035c9 100644
--- a/gcc/modulo-sched.c
+++ b/gcc/modulo-sched.c
@@ -934,7 +934,7 @@ build_loops_structure (FILE *dumpfile)
/* Main entry point, perform SMS scheduling on the loops of the function
that consist of single basic blocks. */
-void
+static void
sms_schedule (FILE *dump_file)
{
static int passes = 0;
diff --git a/gcc/rtl.h b/gcc/rtl.h
index a27304f..d6bf888 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2171,9 +2171,6 @@ extern void simplify_using_condition (rtx, rtx *, struct bitmap_head_def *);
/* In ra.c. */
extern void reg_alloc (void);
-
-/* In modulo-sched.c. */
-extern void sms_schedule (FILE *);
struct rtl_hooks
{