From 6db0fb0ed3c834b6457434841df0599f27872c02 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 9 Nov 2004 17:34:03 +0000 Subject: [PATCH] optabs.c (prepare_operand): Make it static. * optabs.c (prepare_operand): Make it static. * optabs.h: Remove the corresponding prototype. From-SVN: r90351 --- gcc/ChangeLog | 5 +++++ gcc/optabs.c | 2 +- gcc/optabs.h | 3 --- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 17a5627ca44..157862d3fbb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-09 Kazu Hirata + + * optabs.c (prepare_operand): Make it static. + * optabs.h: Remove the corresponding prototype. + 2004-11-09 Kazu Hirata * reload1.c (reloads_conflict, gen_reload): Make them static. diff --git a/gcc/optabs.c b/gcc/optabs.c index cc0627b1240..cfed9040180 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -3197,7 +3197,7 @@ prepare_cmp_insn (rtx *px, rtx *py, enum rtx_code *pcomparison, rtx size, WIDER_MODE (UNSIGNEDP determines whether it is an unsigned conversion), and that it is accepted by the operand predicate. Return the new value. */ -rtx +static rtx prepare_operand (int icode, rtx x, int opnum, enum machine_mode mode, enum machine_mode wider_mode, int unsignedp) { diff --git a/gcc/optabs.h b/gcc/optabs.h index 2d332e31794..09afccb5fca 100644 --- a/gcc/optabs.h +++ b/gcc/optabs.h @@ -477,9 +477,6 @@ extern optab optab_for_tree_code (enum tree_code, tree); extern int can_compare_p (enum rtx_code, enum machine_mode, enum can_compare_purpose); -extern rtx prepare_operand (int, rtx, int, enum machine_mode, - enum machine_mode, int); - /* Return the INSN_CODE to use for an extend operation. */ extern enum insn_code can_extend_p (enum machine_mode, enum machine_mode, int); -- 2.30.2