From: Kazu Hirata Date: Fri, 19 Nov 2004 02:55:34 +0000 (+0000) Subject: emit-rtl.c (classify_insn): Make it static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d78db45956685eb061557086e34eb46bade1cf73;p=gcc.git emit-rtl.c (classify_insn): Make it static. * emit-rtl.c (classify_insn): Make it static. * rtl.h: Remove the corresponding prototype. From-SVN: r90894 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7a8f4cdfbda..4ff0ee960e7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-19 Kazu Hirata + + * emit-rtl.c (classify_insn): Make it static. + * rtl.h: Remove the corresponding prototype. + 2004-11-19 Ben Elliston * dwarf2asm.h (dw2_asm_output_pcel): Stub out with #if 0. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 4a0ead7b34e..051dd152d15 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -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)) diff --git a/gcc/rtl.h b/gcc/rtl.h index ed9fc875b0a..ff4a0650d58 100644 --- 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);