optabs.c (prepare_operand): Make it static.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 9 Nov 2004 17:34:03 +0000 (17:34 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 9 Nov 2004 17:34:03 +0000 (17:34 +0000)
* optabs.c (prepare_operand): Make it static.
* optabs.h: Remove the corresponding prototype.

From-SVN: r90351

gcc/ChangeLog
gcc/optabs.c
gcc/optabs.h

index 17a5627ca44136afccecd197087d1cee3a17c10b..157862d3fbb9b96c6fa674105f2e73cdd64b6374 100644 (file)
@@ -1,3 +1,8 @@
+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.
index cc0627b1240b4f284bfef45c6f3680cf3167df9f..cfed9040180c40f6e7b6971200b82429ec92585b 100644 (file)
@@ -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)
 {
index 2d332e31794461dabf59009e15c5d97f851d5b6a..09afccb5fca796c081f29b0718153f3d9a83ee02 100644 (file)
@@ -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);