From a678e384b91196c50d3190dc1c6f961737e244c5 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 5 Mar 2006 17:41:48 +0000 Subject: [PATCH] flow.c (recompute_reg_usage): Make it static. * flow.c (recompute_reg_usage): Make it static. * rtl.h: Remove the prototype for recompute_reg_usage. From-SVN: r111736 --- gcc/ChangeLog | 3 +++ gcc/flow.c | 2 +- gcc/rtl.h | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 54968b5..7c128e9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -8,6 +8,9 @@ * cfgloop.c (cancel_loop): Make it static. * cfgloop.h: Remove the prototype for cancel_loop. + * flow.c (recompute_reg_usage): Make it static. + * rtl.h: Remove the prototype for recompute_reg_usage. + 2006-03-05 Kazu Hirata * recog.c (volatile_mem_p, validate_change_maybe_volatile): diff --git a/gcc/flow.c b/gcc/flow.c index ff03ca6..64d4092 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -4409,7 +4409,7 @@ debug_regset (regset r) It might be worthwhile to update REG_LIVE_LENGTH, REG_BASIC_BLOCK and possibly other information which is used by the register allocators. */ -unsigned int +static unsigned int recompute_reg_usage (void) { allocate_reg_life_data (); diff --git a/gcc/rtl.h b/gcc/rtl.h index 47d7b0d..dacccfd 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2133,7 +2133,6 @@ extern rtx move_by_pieces (rtx, rtx, unsigned HOST_WIDE_INT, unsigned int, int); /* In flow.c */ -extern unsigned int recompute_reg_usage (void); extern void delete_dead_jumptables (void); extern void print_rtl_with_bb (FILE *, rtx); extern void dump_flow_info (FILE *, int); -- 2.7.4