From 5f1f4746bec0ee6d3a40d9ad761870bcbd8d5f50 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 28 Jan 2006 22:10:40 +0000 Subject: [PATCH] modulo-sched.c (create_partial_schedule, [...]): Make them static. * modulo-sched.c (create_partial_schedule, free_partial_schedule, reset_partial_schedule): Make them static. From-SVN: r110338 --- gcc/ChangeLog | 4 ++++ gcc/modulo-sched.c | 15 +++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f9e774b650b..22c9e2e4569 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -13,6 +13,10 @@ * 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 * config/rs6000/aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -msoft-float diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c index ab035c9fd2e..eb362d03f60 100644 --- a/gcc/modulo-sched.c +++ b/gcc/modulo-sched.c @@ -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) -- 2.30.2