OSDN Git Service

* local-alloc.c (local_alloc): Make it static.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jan 2006 01:24:50 +0000 (01:24 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jan 2006 01:24:50 +0000 (01:24 +0000)
* 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

gcc/ChangeLog
gcc/local-alloc.c
gcc/rtl.h

index 6287c4e..dd85e17 100644 (file)
@@ -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
index 0380ff9..17f450f 100644 (file)
@@ -338,7 +338,7 @@ alloc_qty (int regno, enum machine_mode mode, int size, int birth)
 \f
 /* Main entry point of this file.  */
 
-int
+static int
 local_alloc (void)
 {
   int i;
index 0484cf7..c1de092 100644 (file)
--- 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);