* final.c (compute_alignments): Make it static.
* gcse.c (gcse_main, bypass_jumps): Likewise.
* web.c (web_main): Likewise.
* output.h: Remove the prototype for compute_alignments.
* rtl.h: Remove the prototypes for web_main, gcse_main, and
bypass_jumps.
From-SVN: r109051
+2005-12-25 Kazu Hirata <kazu@codesourcery.com>
+
+ * final.c (compute_alignments): Make it static.
+ * gcse.c (gcse_main, bypass_jumps): Likewise.
+ * web.c (web_main): Likewise.
+ * output.h: Remove the prototype for compute_alignments.
+ * rtl.h: Remove the prototypes for web_main, gcse_main, and
+ bypass_jumps.
+
2005-12-24 Roger Sayle <roger@eyesopen.com>
* expr.c (force_operand): Use expand_fix and expand_float to
}
#endif /* HAVE_ATTR_length */
\f
-void
+/* Compute branch alignments based on frequency information in the
+ CFG. */
+
+static void
compute_alignments (void)
{
int log, max_skip, max_log;
F is the first instruction in the function. Return nonzero if a
change is mode. */
-int
+static int
gcse_main (rtx f ATTRIBUTE_UNUSED, FILE *file)
{
int changed, pass;
\f
/* Entry point for jump bypassing optimization pass. */
-int
+static int
bypass_jumps (FILE *file)
{
int changed;
#ifndef GCC_OUTPUT_H
#define GCC_OUTPUT_H
-/* Compute branch alignments based on frequency information in the CFG. */
-extern void compute_alignments (void);
-
/* Initialize data in final at the beginning of a compilation. */
extern void init_final (const char *);
extern rtx remove_death (unsigned int, rtx);
extern void dump_combine_stats (FILE *);
extern void dump_combine_total_stats (FILE *);
-/* In web.c */
-extern void web_main (void);
/* In sched-rgn.c. */
extern void schedule_insns (FILE *);
/* In gcse.c */
extern bool can_copy_p (enum machine_mode);
extern rtx fis_get_condition (rtx);
-extern int gcse_main (rtx, FILE *);
-extern int bypass_jumps (FILE *);
/* In postreload-gcse.c */
extern void gcse_after_reload_main (rtx);
/* Main entry point. */
-void
+static void
web_main (void)
{
struct df *df;