From: Kazu Hirata Date: Thu, 11 Nov 2004 23:14:21 +0000 (+0000) Subject: c-typeck.c (c_size_in_bytes, [...]): Make them static. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4dd9b0448f55767c388675e9a91784b4b5105702;p=platform%2Fupstream%2Fgcc.git c-typeck.c (c_size_in_bytes, [...]): Make them static. * c-typeck.c (c_size_in_bytes, record_maybe_used_decl): Make them static. * c-tree.h: Remove the corresponding prototypes. From-SVN: r90505 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 14be8ab..6fb1037 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -18,6 +18,9 @@ Make them static. * c-tree.h: Remove the corresponding prototypes. + * explow.c (round_push): Make it static. + * expr.h: Remove the corresponding prototype. + 2004-11-11 Kazu Hirata * function.c (expand_function_end): Remove an "if" statement diff --git a/gcc/explow.c b/gcc/explow.c index 45126f6..a3e28ff 100644 --- a/gcc/explow.c +++ b/gcc/explow.c @@ -875,7 +875,7 @@ anti_adjust_stack (rtx adjust) /* Round the size of a block to be pushed up to the boundary required by this machine. SIZE is the desired size, which need not be constant. */ -rtx +static rtx round_push (rtx size) { int align = PREFERRED_STACK_BOUNDARY / BITS_PER_UNIT; diff --git a/gcc/expr.h b/gcc/expr.h index 1c90e70..21ff1f4 100644 --- a/gcc/expr.h +++ b/gcc/expr.h @@ -707,10 +707,6 @@ extern void probe_stack_range (HOST_WIDE_INT, rtx); in its original home. This becomes invalid if any more code is emitted. */ extern rtx hard_libcall_value (enum machine_mode); -/* Given an rtx, return an rtx for a value rounded up to a multiple - of STACK_BOUNDARY / BITS_PER_UNIT. */ -extern rtx round_push (rtx); - /* Return the mode desired by operand N of a particular bitfield insert/extract insn, or MAX_MACHINE_MODE if no such insn is available. */