From: Kazu Hirata Date: Thu, 11 Nov 2004 23:10:10 +0000 (+0000) Subject: cfglayout.c (choose_inner_scope): Make it static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5d3e50dcdc03b2aefc0e176f4ba351cc26d4213;p=gcc.git cfglayout.c (choose_inner_scope): Make it static. * cfglayout.c (choose_inner_scope): Make it static. * rtl.h: Remove the corresponding prototype. From-SVN: r90502 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5658d0364dd..5c51ed34904 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -7,6 +7,9 @@ record_alias_subset. * rtl.h: Remove the prototype for addr_side_effect_eval. + * cfglayout.c (choose_inner_scope): Make it static. + * rtl.h: Remove the corresponding prototype. + 2004-11-11 Kazu Hirata * function.c (expand_function_end): Remove an "if" statement diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c index 2d88a376b2e..4ca4c1be6b6 100644 --- a/gcc/cfglayout.c +++ b/gcc/cfglayout.c @@ -347,7 +347,7 @@ set_block_levels (tree block, int level) } /* Return sope resulting from combination of S1 and S2. */ -tree +static tree choose_inner_scope (tree s1, tree s2) { if (!s1) diff --git a/gcc/rtl.h b/gcc/rtl.h index 30ea52ee022..f8ca1c3e2f8 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -1507,7 +1507,6 @@ extern rtx next_cc0_user (rtx); extern rtx prev_cc0_setter (rtx); /* In cfglayout.c */ -extern tree choose_inner_scope (tree, tree); extern int insn_line (rtx); extern const char * insn_file (rtx); extern int locator_line (int);