* modulo-sched.c (sms_schedule): Make it static.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jan 2006 15:02:11 +0000 (15:02 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jan 2006 15:02:11 +0000 (15:02 +0000)
* rtl.h: Remove the prototype for sms_schedule.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109888 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/modulo-sched.c
gcc/rtl.h

index 3827a80..5547f30 100644 (file)
@@ -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
index a669bb8..ab035c9 100644 (file)
@@ -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;
index a27304f..d6bf888 100644 (file)
--- 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 *);
 \f
 struct rtl_hooks
 {