aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-19 02:55:34 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-19 02:55:34 +0000
commitd78db45956685eb061557086e34eb46bade1cf73 (patch)
treef4783af35155beaaea940407c3bb81f2569c38f4 /gcc
parentc8f4fe9910807d41ade1ad3c1ea9c2530940225b (diff)
downloadgcc-d78db45956685eb061557086e34eb46bade1cf73.zip
gcc-d78db45956685eb061557086e34eb46bade1cf73.tar.gz
gcc-d78db45956685eb061557086e34eb46bade1cf73.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/emit-rtl.c2
-rw-r--r--gcc/rtl.h1
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7a8f4cd..4ff0ee9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 4a0ead7..051dd15 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 ed9fc87..ff4a065 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);