From b3cb2b8996a8930d3ce117cefbab670bbc112375 Mon Sep 17 00:00:00 2001 From: kazu Date: Wed, 18 Jan 2006 06:39:07 +0000 Subject: [PATCH] * function.c (instantiate_virtual_regs): Make it static. * function.h: Remove the prototype for instantiate_virtual_regs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109874 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/function.c | 2 +- gcc/function.h | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 17b2f433ef9..8e70f3cf428 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -8,6 +8,10 @@ * rtl.h: Remove the prototype for initialize_uninitialized_subregs. + * function.c (instantiate_virtual_regs): Make it static. + * function.h: Remove the prototype for + instantiate_virtual_regs. + 2006-01-17 Roger Sayle * config/i386/i386.c (COSTS_N_BYTES): New macro. diff --git a/gcc/function.c b/gcc/function.c index f5da84c8241..b7a08968562 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -1657,7 +1657,7 @@ instantiate_decls (tree fndecl) /* Pass through the INSNS of function FNDECL and convert virtual register references to hard register references. */ -void +static void instantiate_virtual_regs (void) { rtx insn; diff --git a/gcc/function.h b/gcc/function.h index 11fa1d0e2ec..65810c27773 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -553,7 +553,6 @@ extern void use_return_register (void); extern rtx get_arg_pointer_save_area (struct function *); extern void init_virtual_regs (struct emit_status *); -extern void instantiate_virtual_regs (void); /* Returns the name of the current function. */ extern const char *current_function_name (void); -- 2.11.4.GIT