summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-17 01:24:50 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-17 01:24:50 +0000
commit46a3cafbc55a1255588a363dd9a65f44726cf379 (patch)
tree2ff419588a5f6b1fb6c0bfdd9a5e832393ca624e
parentcd5220aff863e62711e751e1d0e83b84e6ab5b06 (diff)
downloadgcc-46a3cafbc55a1255588a363dd9a65f44726cf379.tar.gz
* local-alloc.c (local_alloc): Make it static.
* rtl.h: Remove the prototype for local_alloc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109794 138bc75d-0d04-0410-961f-82ee72b054a4
-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 6287c4e5cdf..dd85e176154 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 0380ff974e7..17f450f65e1 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 0484cf7f6a9..c1de092831b 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);