aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/optabs.c2
-rw-r--r--gcc/optabs.h3
3 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 17a5627..157862d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
+ * optabs.c (prepare_operand): Make it static.
+ * optabs.h: Remove the corresponding prototype.
+
+2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
+
* reload1.c (reloads_conflict, gen_reload): Make them static.
* reload.h: Remove the corresponding prototypes.
diff --git a/gcc/optabs.c b/gcc/optabs.c
index cc0627b..cfed904 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 2d332e3..09afccb 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);