aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@hxi.com>2002-02-11 04:21:53 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-02-11 04:21:53 +0000
commit9c188705dc9762a8c091f60a03a76bed014f99e0 (patch)
tree1fc804d031335b27133f03efc025ad7874579dfb /gcc
parent2613bd56acd7310de20a0685b77eb5261d71db5b (diff)
downloadgcc-9c188705dc9762a8c091f60a03a76bed014f99e0.zip
gcc-9c188705dc9762a8c091f60a03a76bed014f99e0.tar.gz
gcc-9c188705dc9762a8c091f60a03a76bed014f99e0.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300-protos.h1
-rw-r--r--gcc/config/h8300/h8300.c3
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 790bc10..7a35f40 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/h8300/h8300-protos.h b/gcc/config/h8300/h8300-protos.h
index 67f0ed9..9c9444d 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 517176d..778de62 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;