aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-11 23:14:21 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-11 23:14:21 +0000
commit4dd9b0448f55767c388675e9a91784b4b5105702 (patch)
tree796db61a51f55e259151a976c94c2d0df8170717 /gcc
parent4e2fb7de2d62d73c3ef7967933af331aa3888f0a (diff)
downloadgcc-4dd9b0448f55767c388675e9a91784b4b5105702.zip
gcc-4dd9b0448f55767c388675e9a91784b4b5105702.tar.gz
gcc-4dd9b0448f55767c388675e9a91784b4b5105702.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/explow.c2
-rw-r--r--gcc/expr.h4
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 <kazu@cs.umass.edu>
* 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. */