OSDN Git Service

* emit-rtl.c (classify_insn): Make it static.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Nov 2004 02:55:34 +0000 (02:55 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Nov 2004 02:55:34 +0000 (02:55 +0000)
* rtl.h: Remove the corresponding prototype.

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

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

index 7a8f4cd..4ff0ee9 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 4a0ead7..051dd15 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 ed9fc87..ff4a065 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);