From dad822d36d6d02d5f84f89180453b9f85a1f77af Mon Sep 17 00:00:00 2001
From: Paolo Bonzini <bonzini@gnu.org>
Date: Tue, 10 Feb 2004 11:38:12 +0000
Subject: [PATCH] rtl.h (schedule_insns, [...]): Move under the file in which
 they are actually declared.

* rtl.h (schedule_insns, schedule_ebbs, fix_sched_param,
gen_lowpart_SUBREG): Move under the file in which they
are actually declared.

From-SVN: r77597
---
 gcc/ChangeLog |  6 ++++++
 gcc/rtl.h     | 11 ++++++++---
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a04669ba4584..babd5fdb47dd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2004-02-10  Paolo Bonzini  <bonzini@gnu.org>
+
+	* rtl.h (schedule_insns, schedule_ebbs, fix_sched_param,
+	gen_lowpart_SUBREG): Move under the file in which they
+	are actually declared.
+
 2004-02-10  Arnaud Charlet  <charlet@act-europe.fr>
 
 	* doc/sourcebuild.texi: Add libada documentation.
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 05ad03d2f277..03024667bb5d 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1892,8 +1892,6 @@ extern rtx gen_rtx_REG (enum machine_mode, unsigned);
 extern rtx gen_rtx_SUBREG (enum machine_mode, rtx, int);
 extern rtx gen_rtx_MEM (enum machine_mode, rtx);
 
-extern rtx gen_lowpart_SUBREG (enum machine_mode, rtx);
-
 /* We need the cast here to ensure that we get the same result both with
    and without prototypes.  */
 #define GEN_INT(N)  gen_rtx_CONST_INT (VOIDmode, (HOST_WIDE_INT) (N))
@@ -2103,6 +2101,7 @@ extern void delete_insn_chain (rtx, rtx);
 extern rtx unlink_insn_chain (rtx, rtx);
 extern rtx delete_insn_and_edges (rtx);
 extern void delete_insn_chain_and_edges (rtx, rtx);
+extern rtx gen_lowpart_SUBREG (enum machine_mode, rtx);
 
 /* In combine.c */
 extern int combine_instructions (rtx, unsigned int);
@@ -2115,11 +2114,17 @@ extern void dump_combine_total_stats (FILE *);
 /* In web.c */
 extern void web_main (void);
 
-/* In sched.c.  */
+/* In sched-rgn.c.  */
 #ifdef BUFSIZ
 extern void schedule_insns (FILE *);
+#endif
+
+/* In sched-ebb.c.  */
+#ifdef BUFSIZ
 extern void schedule_ebbs (FILE *);
 #endif
+
+/* In haifa-sched.c.  */
 extern void fix_sched_param (const char *, const char *);
 
 /* In print-rtl.c */
-- 
GitLab