emit-rtl.c (classify_insn): Make it static.
authorKazu Hirata <kazu@cs.umass.edu>
Fri, 19 Nov 2004 02:55:34 +0000 (02:55 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 19 Nov 2004 02:55:34 +0000 (02:55 +0000)
* emit-rtl.c (classify_insn): Make it static.
* rtl.h: Remove the corresponding prototype.

From-SVN: r90894

gcc/ChangeLog
gcc/emit-rtl.c
gcc/rtl.h

index 7a8f4cdfbda0debeddbfea62a43cdee84fd4b92e..4ff0ee960e77e41e2718c950b7b1cb2be44fe071 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * emit-rtl.c (classify_insn): Make it static.
+       * rtl.h: Remove the corresponding prototype.
+
 2004-11-19  Ben Elliston  <bje@au.ibm.com>
 
        * dwarf2asm.h (dw2_asm_output_pcel): Stub out with #if 0.
index 4a0ead7b34eef135c57f7690617db217f79017f8..051dd152d15ab9c8b64f17d81ebbcb9ed0fc420e 100644 (file)
@@ -4708,7 +4708,7 @@ set_unique_reg_note (rtx insn, enum reg_note kind, rtx datum)
 /* Return an indication of which type of insn should have X as a body.
    The value is CODE_LABEL, INSN, CALL_INSN or JUMP_INSN.  */
 
-enum rtx_code
+static enum rtx_code
 classify_insn (rtx x)
 {
   if (LABEL_P (x))
index ed9fc875b0a8879b4a7f3a3c05642f3f4e02e2b6..ff4a0650d58678fb120f3c51dfcee69bdf4c83d9 100644 (file)
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1954,7 +1954,6 @@ extern void add_insn_before (rtx, rtx);
 extern void add_insn_after (rtx, rtx);
 extern void remove_insn (rtx);
 extern void emit_insn_after_with_line_notes (rtx, rtx, rtx);
-extern enum rtx_code classify_insn (rtx);
 extern rtx emit (rtx);
 extern void renumber_insns (FILE *);
 extern void remove_unnecessary_notes (void);