[patch] modulo-sched.c: Make sms_schedule static.
Kazu Hirata
kazu@codesourcery.com
Wed Jan 18 15:07:00 GMT 2006
Hi,
Attached is a patch to make sms_schedule static.
Bootstrapped on x86_64-pc-linux-gnu. Committed as preapproved.
Kazu Hirata
2006-01-18 Kazu Hirata <kazu@codesourcery.com>
* modulo-sched.c (sms_schedule): Make it static.
* rtl.h: Remove the prototype for sms_schedule.
Index: modulo-sched.c
===================================================================
--- modulo-sched.c (revision 109875)
+++ modulo-sched.c (working copy)
@@ -934,7 +934,7 @@ build_loops_structure (FILE *dumpfile)
/* Main entry point, perform SMS scheduling on the loops of the function
that consist of single basic blocks. */
-void
+static void
sms_schedule (FILE *dump_file)
{
static int passes = 0;
Index: rtl.h
===================================================================
--- rtl.h (revision 109875)
+++ rtl.h (working copy)
@@ -2171,9 +2171,6 @@ extern void simplify_using_condition (rt
/* In ra.c. */
extern void reg_alloc (void);
-
-/* In modulo-sched.c. */
-extern void sms_schedule (FILE *);
struct rtl_hooks
{
More information about the Gcc-patches
mailing list