OSDN Git Service

* optabs.c (prepare_operand): Make it static.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Nov 2004 17:34:03 +0000 (17:34 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Nov 2004 17:34:03 +0000 (17:34 +0000)
* optabs.h: Remove the corresponding prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90351 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 17a5627..157862d 100644 (file)
@@ -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.
 
index cc0627b..cfed904 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 2d332e3..09afccb 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);