diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2006-03-05 17:42:47 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2006-03-05 17:42:47 +0000 |
commit | 0bf8477d987a278a0cfe8040b6117d2f08469202 (patch) | |
tree | a43b014ffa03fedca0a3e6e18fa44b19e301e09c /gcc | |
parent | a678e384b91196c50d3190dc1c6f961737e244c5 (diff) | |
download | gcc-0bf8477d987a278a0cfe8040b6117d2f08469202.zip gcc-0bf8477d987a278a0cfe8040b6117d2f08469202.tar.gz gcc-0bf8477d987a278a0cfe8040b6117d2f08469202.tar.bz2 |
function.c (use_return_register): Make it static.
* function.c (use_return_register): Make it static.
* function.h: Remove the prototype.
From-SVN: r111737
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/function.c | 2 | ||||
-rw-r--r-- | gcc/function.h | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7c128e9..5499baa 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 <kazu@codesourcery.com> * recog.c (volatile_mem_p, validate_change_maybe_volatile): diff --git a/gcc/function.c b/gcc/function.c index 9283b50..473f5d4 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 a904e0f..7c9ea3f 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 *); |