h8300-protos.h: Remove the prototype for byte_reg.
authorKazu Hirata <kazu@hxi.com>
Mon, 11 Feb 2002 04:21:53 +0000 (04:21 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 11 Feb 2002 04:21:53 +0000 (04:21 +0000)
* config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
* config/h8300/h8300.c (byte_reg): Make it static.

From-SVN: r49665

gcc/ChangeLog
gcc/config/h8300/h8300-protos.h
gcc/config/h8300/h8300.c

index 790bc10..7a35f40 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-10  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
+       * config/h8300/h8300.c (byte_reg): Make it static.
+
 2002-02-10  Richard Henderson  <rth@redhat.com>
 
        PR c/5623
index 67f0ed9..9c9444d 100644 (file)
@@ -30,7 +30,6 @@ extern const char *output_a_shift PARAMS ((rtx *));
 extern const char *emit_a_rotate PARAMS ((enum rtx_code, rtx *));
 extern const char *output_simode_bld PARAMS ((int, rtx[]));
 extern void print_operand_address PARAMS ((FILE *, rtx));
-extern const char *byte_reg PARAMS ((rtx, int));
 extern int const_costs PARAMS ((rtx, enum rtx_code));
 extern void print_operand PARAMS ((FILE *, rtx, int));
 extern void final_prescan_insn PARAMS ((rtx, rtx *, int));
index 517176d..778de62 100644 (file)
@@ -44,6 +44,7 @@ Boston, MA 02111-1307, USA.  */
 #include "target-def.h"
 
 /* Forward declarations.  */
+static const char *byte_reg PARAMS ((rtx, int));
 static int h8300_interrupt_function_p PARAMS ((tree));
 static int h8300_monitor_function_p PARAMS ((tree));
 static int h8300_os_task_function_p PARAMS ((tree));
@@ -143,7 +144,7 @@ h8300_init_once ()
     }
 }
 
-const char *
+static const char *
 byte_reg (x, b)
      rtx x;
      int b;