local-alloc.c (local_alloc): Make it static.
authorKazu Hirata <kazu@codesourcery.com>
Tue, 17 Jan 2006 01:24:50 +0000 (01:24 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 17 Jan 2006 01:24:50 +0000 (01:24 +0000)
* local-alloc.c (local_alloc): Make it static.
* rtl.h: Remove the prototype for local_alloc.

From-SVN: r109794

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

index 6287c4e5cdf4a201770a20cbabe4b4429fa16baa..dd85e1761544997e344e41f1d522a097e73ddcaf 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 0380ff974e7a66da22295582dc76a1e98c80c91a..17f450f65e1b1a6c9450b546bf887b13ab2c387e 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 0484cf7f6a9230e4c1f5bff7ed1c24619a296d8c..c1de092831b407da97441d19864e136abd9d0e96 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);