* regmove.c (regmove_optimize, combine_stack_adjustments):
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jan 2006 06:40:08 +0000 (06:40 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jan 2006 06:40:08 +0000 (06:40 +0000)
Make them static.
* rtl.h: Remove the prototypes for regmove_optimize and
combine_stack_adjustments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109875 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/regmove.c
gcc/rtl.h

index 8e70f3c..f85952d 100644 (file)
        * 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  <roger@eyesopen.com>
 
        * config/i386/i386.c (COSTS_N_BYTES): New macro.
index f742958..740dee3 100644 (file)
@@ -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;
index 9d8eb36..a27304f 100644 (file)
--- 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 *);