From 5edc923076bb8e6a73d6e5df064641624987ffa9 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 5 Dec 1998 16:23:52 -0700 Subject: [PATCH] print-rtl.c (print_rtx): Add prototype. * print-rtl.c (print_rtx): Add prototype. * unroll.c (iteration_info): Make it static. From-SVN: r24116 --- gcc/print-rtl.c | 2 ++ gcc/unroll.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index 65242976034..84711cbf33f 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -55,6 +55,8 @@ static int indent; extern char **insn_name_ptr; +static void print_rtx PROTO ((rtx)); + /* Nonzero means suppress output of instruction numbers and line number notes in debugging dumps. This must be defined here so that programs like gencodes can be linked. */ diff --git a/gcc/unroll.c b/gcc/unroll.c index 0e616f5154d..6658fb56d10 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -194,7 +194,7 @@ static rtx initial_reg_note_copy PROTO((rtx, struct inline_remap *)); static void final_reg_note_copy PROTO((rtx, struct inline_remap *)); static void copy_loop_body PROTO((rtx, rtx, struct inline_remap *, rtx, int, enum unroll_types, rtx, rtx, rtx, rtx)); -void iteration_info PROTO((rtx, rtx *, rtx *, rtx, rtx)); +static void iteration_info PROTO((rtx, rtx *, rtx *, rtx, rtx)); static int find_splittable_regs PROTO((enum unroll_types, rtx, rtx, rtx, int, unsigned HOST_WIDE_INT)); static int find_splittable_givs PROTO((struct iv_class *, enum unroll_types, @@ -2329,7 +2329,7 @@ biv_total_increment (bl, loop_start, loop_end) Initial_value and/or increment are set to zero if their values could not be calculated. */ -void +static void iteration_info (iteration_var, initial_value, increment, loop_start, loop_end) rtx iteration_var, *initial_value, *increment; rtx loop_start, loop_end; -- 2.30.2