This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] emit-rtl.c: Make init_virtual_regs static.


Hi,

Attached is a patch to make init_virtual_regs static.

Bootstrapped on x86_64-pc-linux-gnu.  Committed as preapproved.

Kazu Hirata

2006-01-28  Kazu Hirata  <kazu@codesourcery.com>

	* emit-rtl.c (init_virtual_regs): Make it static.
	* function.h: Remove the prototype for init_virtual_regs.

Index: emit-rtl.c
===================================================================
--- emit-rtl.c	(revision 110321)
+++ emit-rtl.c	(working copy)
@@ -4889,7 +4889,7 @@ in_sequence_p (void)
 
 /* Put the various virtual registers into REGNO_REG_RTX.  */
 
-void
+static void
 init_virtual_regs (struct emit_status *es)
 {
   rtx *ptr = es->x_regno_reg_rtx;
Index: function.h
===================================================================
--- function.h	(revision 110321)
+++ function.h	(working copy)
@@ -552,8 +552,6 @@ extern void use_return_register (void);
 
 extern rtx get_arg_pointer_save_area (struct function *);
 
-extern void init_virtual_regs (struct emit_status *);
-
 /* Returns the name of the current function.  */
 extern const char *current_function_name (void);
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]