diff options
author | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-19 00:03:14 +0000 |
---|---|---|
committer | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-19 00:03:14 +0000 |
commit | aa157ca4880738c17313f153d131c0a7bb65163b (patch) | |
tree | caa5eb1ab6af5253bdb36f00fac1fccc796f9184 | |
parent | cc1759d7188e65479c4ac1ef3d7523dfa6f36aae (diff) | |
download | gcc-aa157ca4880738c17313f153d131c0a7bb65163b.tar.gz |
* predict.h (predict_insn): Remove extern declaration.
* predict.c (predict_insn): Make static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90884 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/predict.c | 2 | ||||
-rw-r--r-- | gcc/predict.h | 1 |
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c0e24369fb1..44b2341f94b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/predict.c b/gcc/predict.c index 944a5565f22..432e8373f38 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -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)) diff --git a/gcc/predict.h b/gcc/predict.h index bb9a6a0b0ae..17c2c948a88 100644 --- a/gcc/predict.h +++ b/gcc/predict.h @@ -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 */ |