function.c (use_return_register): Make it static.
authorKazu Hirata <kazu@codesourcery.com>
Sun, 5 Mar 2006 17:42:47 +0000 (17:42 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sun, 5 Mar 2006 17:42:47 +0000 (17:42 +0000)
* function.c (use_return_register): Make it static.
* function.h: Remove the prototype.

From-SVN: r111737

gcc/ChangeLog
gcc/function.c
gcc/function.h

index 7c128e9..5499baa 100644 (file)
@@ -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):
index 9283b50..473f5d4 100644 (file)
@@ -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);
index a904e0f..7c9ea3f 100644 (file)
@@ -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 *);