aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/emit-rtl.c2
-rw-r--r--gcc/function.h2
3 files changed, 4 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bbd1150..eb79cdc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -11,6 +11,9 @@
* cfgloop.h: Remove the prototype for
flow_loop_outside_edge_p.
+ * emit-rtl.c (init_virtual_regs): Make it static.
+ * function.h: Remove the prototype for init_virtual_regs.
+
2006-01-27 H.J. Lu <hongjiu.lu@intel.com>
* df-scan.c (df_record_entry_block_defs): Check if
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index e1446fc..75efecf 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -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;
diff --git a/gcc/function.h b/gcc/function.h
index 65810c2..727879e 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -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);