From 4dd9b0448f55767c388675e9a91784b4b5105702 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 11 Nov 2004 23:14:21 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/explow.c | 2 +- gcc/expr.h | 4 ---- 3 files changed, 4 insertions(+), 5 deletions(-) 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. */ -- 2.7.4