bb-reorder.c (partition_hot_cold_basic_blocks): Make it static.
authorKazu Hirata <kazu@codesourcery.com>
Mon, 16 Jan 2006 19:15:22 +0000 (19:15 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 16 Jan 2006 19:15:22 +0000 (19:15 +0000)
* bb-reorder.c (partition_hot_cold_basic_blocks): Make it
static.
* basic-block.h: Remove the prototype for
partition_hot_cold_basic_blocks.

From-SVN: r109762

gcc/ChangeLog
gcc/basic-block.h
gcc/bb-reorder.c

index d1ce375b2becdc9903b16308a00da45619241839..a5048a1dd877fa53847c73f71b1905472745652a 100644 (file)
@@ -1,3 +1,10 @@
+2006-01-16  Kazu Hirata  <kazu@codesourcery.com>
+
+       * bb-reorder.c (partition_hot_cold_basic_blocks): Make it
+       static.
+       * basic-block.h: Remove the prototype for
+       partition_hot_cold_basic_blocks.
+
 2006-01-16  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
 
        * cppspec.c (lang_specific_spec_functions): remove
index d9fd10c90d16d172fd0c57de2b6fb238f2fdd194..aa136d378d70fd9600cd794b58356890f481ff66 100644 (file)
@@ -954,7 +954,6 @@ extern bool control_flow_insn_p (rtx);
 
 /* In bb-reorder.c */
 extern void reorder_basic_blocks (unsigned int);
-extern void partition_hot_cold_basic_blocks (void);
 
 /* In dominance.c */
 
index f46b2cf871ecdca2ccef583a9695d1d4276ef271..dc17aa6dd7f4f6c56dfa6611daefd910719bdca3 100644 (file)
@@ -2161,7 +2161,7 @@ struct tree_opt_pass pass_duplicate_computed_gotos =
    (through registers) requires that this optimization be performed
    before register allocation.  */
 
-void
+static void
 partition_hot_cold_basic_blocks (void)
 {
   basic_block cur_bb;