From 7399bcb0fa6d1d49076af0ec79d9ae081eef1fbc Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 18 Jan 2006 15:01:18 +0000 Subject: [PATCH] mode-switching.c (optimize_mode_switching): Make it static. * mode-switching.c (optimize_mode_switching): Make it static. * basic-block.h: Remove the prototype for optimize_mode_switching. From-SVN: r109887 --- gcc/ChangeLog | 6 ++++++ gcc/basic-block.h | 1 - gcc/mode-switching.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8bb03f70cc8c..3827a80b2b4d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2006-01-18 Kazu Hirata + + * mode-switching.c (optimize_mode_switching): Make it static. + * basic-block.h: Remove the prototype for + optimize_mode_switching. + 2006-01-18 Eric Botcazou * config/alpha/alpha.c (alpha_split_tfmode_pair): Rename into diff --git a/gcc/basic-block.h b/gcc/basic-block.h index aa136d378d70..ab2d927c3082 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -872,7 +872,6 @@ extern struct edge_list *pre_edge_rev_lcm (FILE *, int, sbitmap *, sbitmap *, sbitmap **, sbitmap **); extern void compute_available (sbitmap *, sbitmap *, sbitmap *, sbitmap *); -extern int optimize_mode_switching (FILE *); /* In predict.c */ extern void estimate_probability (struct loops *); diff --git a/gcc/mode-switching.c b/gcc/mode-switching.c index 30ad3a833576..3e7ec7e39ba0 100644 --- a/gcc/mode-switching.c +++ b/gcc/mode-switching.c @@ -382,7 +382,7 @@ create_pre_exit (int n_entities, int *entity_map, const int *num_modes) /* Find all insns that need a particular mode setting, and insert the necessary mode switches. Return true if we did work. */ -int +static int optimize_mode_switching (FILE *file) { rtx insn;