predict.h (predict_insn): Remove extern declaration.
authorBen Elliston <bje@au.ibm.com>
Fri, 19 Nov 2004 00:03:14 +0000 (00:03 +0000)
committerBen Elliston <bje@gcc.gnu.org>
Fri, 19 Nov 2004 00:03:14 +0000 (11:03 +1100)
* predict.h (predict_insn): Remove extern declaration.
* predict.c (predict_insn): Make static.

From-SVN: r90884

gcc/ChangeLog
gcc/predict.c
gcc/predict.h

index c0e24369fb14c88efbe1d0de41929126855c1df7..44b2341f94bd27b938ea4d0d241c4a2674fe85dc 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-19  Ben Elliston  <bje@au.ibm.com>
+
+       * predict.h (predict_insn): Remove extern declaration.
+       * predict.c (predict_insn): Make static.
+
 2004-11-19  Alan Modra  <amodra@bigpond.net.au>
 
        * config/rs6000/rs6000.c (function_arg): Don't return BLKmode regs.
index 944a5565f22c688929e23b179b2bf2f6aa742a0e..432e8373f3886f5c8020923501bccfc176d2a535 100644 (file)
@@ -177,7 +177,7 @@ tree_predicted_by_p (basic_block bb, enum br_predictor predictor)
   return false;
 }
 
-void
+static void
 predict_insn (rtx insn, enum br_predictor predictor, int probability)
 {
   if (!any_condjump_p (insn))
index bb9a6a0b0aed499853c9e7a02b7104dac8f4d4f5..17c2c948a88ffe2da7cf776a0d22094d9e6a642a 100644 (file)
@@ -40,7 +40,6 @@ enum prediction
 #define IS_TAKEN 1             /* Predict edges to the block as taken.  */
 
 extern void predict_insn_def (rtx, enum br_predictor, enum prediction);
-extern void predict_insn (rtx, enum br_predictor, int);
 extern int counts_to_freqs (void);
 
 #endif  /* GCC_PREDICT_H */