mode-switching.c (optimize_mode_switching): Make it static.
authorKazu Hirata <kazu@codesourcery.com>
Wed, 18 Jan 2006 15:01:18 +0000 (15:01 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Wed, 18 Jan 2006 15:01:18 +0000 (15:01 +0000)
* mode-switching.c (optimize_mode_switching): Make it static.
* basic-block.h: Remove the prototype for
optimize_mode_switching.

From-SVN: r109887

gcc/ChangeLog
gcc/basic-block.h
gcc/mode-switching.c

index 8bb03f7..3827a80 100644 (file)
@@ -1,3 +1,9 @@
+2006-01-18  Kazu Hirata  <kazu@codesourcery.com>
+
+       * mode-switching.c (optimize_mode_switching): Make it static.
+       * basic-block.h: Remove the prototype for
+       optimize_mode_switching.
+
 2006-01-18  Eric Botcazou  <ebotcazou@adacore.com>
 
        * config/alpha/alpha.c (alpha_split_tfmode_pair): Rename into
index aa136d3..ab2d927 100644 (file)
@@ -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 *);
index 30ad3a8..3e7ec7e 100644 (file)
@@ -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;