From 9c188705dc9762a8c091f60a03a76bed014f99e0 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 11 Feb 2002 04:21:53 +0000 Subject: [PATCH] h8300-protos.h: Remove the prototype for byte_reg. * 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 | 5 +++++ gcc/config/h8300/h8300-protos.h | 1 - gcc/config/h8300/h8300.c | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 790bc10edb23..7a35f4071667 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-02-10 Kazu Hirata + + * 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 PR c/5623 diff --git a/gcc/config/h8300/h8300-protos.h b/gcc/config/h8300/h8300-protos.h index 67f0ed9bf863..9c9444ded12b 100644 --- a/gcc/config/h8300/h8300-protos.h +++ b/gcc/config/h8300/h8300-protos.h @@ -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)); diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 517176d84ff6..778de62068bc 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -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;