aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-01-17 01:24:50 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-01-17 01:24:50 +0000
commit57c8b089a16407ddd2e9a2f70bb50e80abe10cb3 (patch)
tree2ff419588a5f6b1fb6c0bfdd9a5e832393ca624e /gcc
parentd6108e890ccd55d45010ec888091489c26704be3 (diff)
downloadgcc-57c8b089a16407ddd2e9a2f70bb50e80abe10cb3.zip
gcc-57c8b089a16407ddd2e9a2f70bb50e80abe10cb3.tar.gz
gcc-57c8b089a16407ddd2e9a2f70bb50e80abe10cb3.tar.bz2
local-alloc.c (local_alloc): Make it static.
* local-alloc.c (local_alloc): Make it static. * rtl.h: Remove the prototype for local_alloc. From-SVN: r109794
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/local-alloc.c2
-rw-r--r--gcc/rtl.h1
3 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6287c4e..dd85e17 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -3,6 +3,9 @@
* ifcvt.c (if_convert): Make it static.
* rtl.h: Remove the prototype for if_convert.
+ * local-alloc.c (local_alloc): Make it static.
+ * rtl.h: Remove the prototype for local_alloc.
+
2006-01-16 DJ Delorie <dj@redhat.com>
* reload.c (reg_overlap_mentioned_for_reload_p): Handle subregs of
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index 0380ff9..17f450f 100644
--- a/gcc/local-alloc.c
+++ b/gcc/local-alloc.c
@@ -338,7 +338,7 @@ alloc_qty (int regno, enum machine_mode mode, int size, int birth)
/* Main entry point of this file. */
-int
+static int
local_alloc (void)
{
int i;
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 0484cf7..c1de092 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2081,7 +2081,6 @@ extern void dbr_schedule (rtx, FILE *);
/* In local-alloc.c */
extern void dump_local_alloc (FILE *);
-extern int local_alloc (void);
/* In reload1.c */
extern int function_invariant_p (rtx);