]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
global.c (global_alloc): Make it static.
authorKazu Hirata <kazu@codesourcery.com>
Mon, 16 Jan 2006 21:04:19 +0000 (21:04 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 16 Jan 2006 21:04:19 +0000 (21:04 +0000)
* global.c (global_alloc): Make it static.
* rtl.h: Remove the prototype for global_alloc.

From-SVN: r109771

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

index d19082a192e3ab270b7f4bd98aa49b63851474ee..62dc8ff17e6296ca79f6261decc7c3119213ccb8 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 e88e1012a5e8332b36d3d8f7ea1197f0154aeaae..defaeaf4f3f9576e99b4ab9b917ffd99f6276e6e 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 d076b1de4b44ed4140334f1c4cd308676c5c6e1e..d401c98f1e6e3f4e27d20f27d83eda4d676c32e5 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.  */