From fe3c357180f00f88ace30ad8a793656d798ca431 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 18 Jan 2006 06:40:08 +0000 Subject: [PATCH] regmove.c (regmove_optimize, [...]): Make them static. * regmove.c (regmove_optimize, combine_stack_adjustments): Make them static. * rtl.h: Remove the prototypes for regmove_optimize and combine_stack_adjustments. From-SVN: r109875 --- gcc/ChangeLog | 5 +++++ gcc/regmove.c | 4 ++-- gcc/rtl.h | 4 ---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e70f3cf428..f85952d01f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -12,6 +12,11 @@ * function.h: Remove the prototype for instantiate_virtual_regs. + * regmove.c (regmove_optimize, combine_stack_adjustments): + Make them static. + * rtl.h: Remove the prototypes for regmove_optimize and + combine_stack_adjustments. + 2006-01-17 Roger Sayle * config/i386/i386.c (COSTS_N_BYTES): New macro. diff --git a/gcc/regmove.c b/gcc/regmove.c index f74295834df..740dee34ad8 100644 --- a/gcc/regmove.c +++ b/gcc/regmove.c @@ -1037,7 +1037,7 @@ fixup_match_2 (rtx insn, rtx dst, rtx src, rtx offset, FILE *regmove_dump_file) REGMOVE_DUMP_FILE is a stream for output of a trace of actions taken (or 0 if none should be output). */ -void +static void regmove_optimize (rtx f, int nregs, FILE *regmove_dump_file) { int old_max_uid = get_max_uid (); @@ -2113,7 +2113,7 @@ static int record_stack_memrefs (rtx *, void *); /* Main entry point for stack adjustment combination. */ -void +static void combine_stack_adjustments (void) { basic_block bb; diff --git a/gcc/rtl.h b/gcc/rtl.h index 9d8eb365741..a27304fbb14 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2069,10 +2069,6 @@ extern void cannot_change_mode_set_regs (HARD_REG_SET *, extern bool invalid_mode_change_p (unsigned int, enum reg_class, enum machine_mode); -/* In regmove.c */ -extern void regmove_optimize (rtx, int, FILE *); -extern void combine_stack_adjustments (void); - /* In reorg.c */ extern void dbr_schedule (rtx, FILE *);