* global.c (global_alloc): Make it static.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Jan 2006 21:04:19 +0000 (21:04 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Jan 2006 21:04:19 +0000 (21:04 +0000)
* rtl.h: Remove the prototype for global_alloc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109771 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/global.c
gcc/rtl.h

index d19082a..62dc8ff 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-16  Kazu Hirata  <kazu@codesourcery.com>
+
+       * global.c (global_alloc): Make it static.
+       * rtl.h: Remove the prototype for global_alloc.
+
 2006-01-16  Richard Guenther  <rguenther@suse.de>
 
        * tree-ssa-alias.c (struct used_part): Add write_only field.
index e88e101..defaeaf 100644 (file)
@@ -332,7 +332,7 @@ static void make_accurate_live_analysis (void);
    Return value is nonzero if reload failed
    and we must not do any more for this function.  */
 
-int
+static int
 global_alloc (FILE *file)
 {
   int retval;
index d076b1d..d401c98 100644 (file)
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2043,7 +2043,6 @@ extern void gcse_after_reload_main (rtx);
 
 /* In global.c */
 extern void mark_elimination (int, int);
-extern int global_alloc (FILE *);
 extern void dump_global_regs (FILE *);
 #ifdef HARD_CONST
 /* Yes, this ifdef is silly, but HARD_REG_SET is not always defined.  */