From 2bbdec73940051f8883010741c58676241b855bd Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 28 Jan 2006 15:16:02 +0000 Subject: [PATCH] emit-rtl.c (init_virtual_regs): Make it static. * emit-rtl.c (init_virtual_regs): Make it static. * function.h: Remove the prototype for init_virtual_regs. From-SVN: r110326 --- gcc/ChangeLog | 3 +++ gcc/emit-rtl.c | 2 +- gcc/function.h | 2 -- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bbd1150447f..eb79cdc644e 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 * df-scan.c (df_record_entry_block_defs): Check if diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index e1446fc349a..75efecfca3e 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 65810c27773..727879e8666 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); -- 2.30.2