From efa2fa3436bc4f15c544c888ed4d9e60a1d02f03 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 18 Jan 2006 15:02:11 +0000 Subject: [PATCH] modulo-sched.c (sms_schedule): Make it static. * modulo-sched.c (sms_schedule): Make it static. * rtl.h: Remove the prototype for sms_schedule. From-SVN: r109888 --- gcc/ChangeLog | 3 +++ gcc/modulo-sched.c | 2 +- gcc/rtl.h | 3 --- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3827a80b2b4d..5547f308960c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -4,6 +4,9 @@ * basic-block.h: Remove the prototype for optimize_mode_switching. + * modulo-sched.c (sms_schedule): Make it static. + * rtl.h: Remove the prototype for sms_schedule. + 2006-01-18 Eric Botcazou * config/alpha/alpha.c (alpha_split_tfmode_pair): Rename into diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c index a669bb87fdde..ab035c9fd2ee 100644 --- a/gcc/modulo-sched.c +++ b/gcc/modulo-sched.c @@ -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; diff --git a/gcc/rtl.h b/gcc/rtl.h index a27304fbb143..d6bf888a0bb0 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2171,9 +2171,6 @@ extern void simplify_using_condition (rtx, rtx *, struct bitmap_head_def *); /* In ra.c. */ extern void reg_alloc (void); - -/* In modulo-sched.c. */ -extern void sms_schedule (FILE *); struct rtl_hooks { -- 2.47.2