From 0bf8477d987a278a0cfe8040b6117d2f08469202 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 5 Mar 2006 17:42:47 +0000 Subject: [PATCH] function.c (use_return_register): Make it static. * function.c (use_return_register): Make it static. * function.h: Remove the prototype. From-SVN: r111737 --- gcc/ChangeLog | 3 +++ gcc/function.c | 2 +- gcc/function.h | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7c128e9029b8..5499baa02894 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -11,6 +11,9 @@ * flow.c (recompute_reg_usage): Make it static. * rtl.h: Remove the prototype for recompute_reg_usage. + * function.c (use_return_register): Make it static. + * function.h: Remove the prototype. + 2006-03-05 Kazu Hirata * recog.c (volatile_mem_p, validate_change_maybe_volatile): diff --git a/gcc/function.c b/gcc/function.c index 9283b50d8418..473f5d4758fd 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -4307,7 +4307,7 @@ do_use_return_reg (rtx reg, void *arg ATTRIBUTE_UNUSED) emit_insn (gen_rtx_USE (VOIDmode, reg)); } -void +static void use_return_register (void) { diddle_return_value (do_use_return_reg, NULL); diff --git a/gcc/function.h b/gcc/function.h index a904e0f19f43..7c9ea3f28619 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -547,7 +547,6 @@ extern void init_varasm_status (struct function *); #ifdef RTX_CODE extern void diddle_return_value (void (*)(rtx, void*), void*); extern void clobber_return_register (void); -extern void use_return_register (void); #endif extern rtx get_arg_pointer_save_area (struct function *); -- 2.43.5