modulo-sched.c (create_partial_schedule, [...]): Make them static.
authorKazu Hirata <kazu@codesourcery.com>
Sat, 28 Jan 2006 22:10:40 +0000 (22:10 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sat, 28 Jan 2006 22:10:40 +0000 (22:10 +0000)
* modulo-sched.c (create_partial_schedule,
free_partial_schedule, reset_partial_schedule): Make them
static.

From-SVN: r110338

gcc/ChangeLog
gcc/modulo-sched.c

index f9e774b650ba01e9fb6746a3f4c513d0d1947877..22c9e2e4569f8c994b516f9eb956ac154bc30422 100644 (file)
        * tree-vectorizer.h: Remove the prototype for
        vect_strip_conversion.
 
+       * modulo-sched.c (create_partial_schedule,
+       free_partial_schedule, reset_partial_schedule): Make them
+       static.
+
 2006-01-28  David Edelsohn  <edelsohn@gnu.org>
 
        * config/rs6000/aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -msoft-float
index ab035c9fd2eeda41c0041e4afb030cd8de700824..eb362d03f60953b1ebdf94f29ab2a86ae76644d9 100644 (file)
@@ -157,9 +157,9 @@ struct undo_replace_buff_elem
 
 
   
-partial_schedule_ptr create_partial_schedule (int ii, ddg_ptr, int history);
-void free_partial_schedule (partial_schedule_ptr);
-void reset_partial_schedule (partial_schedule_ptr, int new_ii);
+static partial_schedule_ptr create_partial_schedule (int ii, ddg_ptr, int history);
+static void free_partial_schedule (partial_schedule_ptr);
+static void reset_partial_schedule (partial_schedule_ptr, int new_ii);
 void print_partial_schedule (partial_schedule_ptr, FILE *);
 static int kernel_number_of_cycles (rtx first_insn, rtx last_insn);
 static ps_insn_ptr ps_add_node_check_conflicts (partial_schedule_ptr,
@@ -2033,7 +2033,8 @@ order_nodes_in_scc (ddg_ptr g, sbitmap nodes_ordered, sbitmap scc,
    modulo scheduling.  */
 
 /* Create a partial schedule and allocate a memory to hold II rows.  */
-partial_schedule_ptr
+
+static partial_schedule_ptr
 create_partial_schedule (int ii, ddg_ptr g, int history)
 {
   partial_schedule_ptr ps = (partial_schedule_ptr)
@@ -2069,7 +2070,8 @@ free_ps_insns (partial_schedule_ptr ps)
 }
 
 /* Free all the memory allocated to the partial schedule.  */
-void
+
+static void
 free_partial_schedule (partial_schedule_ptr ps)
 {
   if (!ps)
@@ -2081,7 +2083,8 @@ free_partial_schedule (partial_schedule_ptr ps)
 
 /* Clear the rows array with its PS_INSNs, and create a new one with
    NEW_II rows.  */
-void
+
+static void
 reset_partial_schedule (partial_schedule_ptr ps, int new_ii)
 {
   if (!ps)