From 9a8b0889ebcf04025e39886d742ddacaa0a3f8d9 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sun, 21 Jun 1998 11:59:03 -0600 Subject: [PATCH] haifa-sched.c (debug_ready_list): Make static. * haifa-sched.c (debug_ready_list): Make static. * toplev.h (fancy_abort): Declare. * rtl.h (expand_expr): Remove declaration. From-SVN: r20640 --- gcc/ChangeLog | 8 ++++++++ gcc/haifa-sched.c | 4 ++-- gcc/rtl.h | 6 ------ gcc/toplev.h | 2 ++ 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e48de8651fc..e21ea661ee4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,13 @@ +Sun Jun 21 18:56:44 1998 Jeffrey A Law (law@cygnus.com) + + * haifa-sched.c (debug_ready_list): Make static. + + * toplev.h (fancy_abort): Declare. + Sun Jun 21 18:30:13 1998 H.J. Lu (hjl@gnu.org) + * rtl.h (expand_expr): Remove declaration. + * loop.c (oballoc): Remove declaration. (replace_call_address): Add prototype. diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index a4c63a3ae16..14051d74aae 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -743,7 +743,7 @@ static void find_post_sched_live PROTO ((int)); static void update_reg_usage PROTO ((void)); static int queue_to_ready PROTO ((rtx [], int)); -void debug_ready_list PROTO ((rtx[], int)); +static void debug_ready_list PROTO ((rtx[], int)); static void init_target_units PROTO (()); static void insn_print_units PROTO ((rtx)); static int get_visual_tbl_length PROTO (()); @@ -5527,7 +5527,7 @@ queue_to_ready (ready, n_ready) /* Print the ready list for debugging purposes. Callable from debugger. */ -extern void +static void debug_ready_list (ready, n_ready) rtx ready[]; int n_ready; diff --git a/gcc/rtl.h b/gcc/rtl.h index f8d23fa45cc..bee83bbc0d8 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -1142,11 +1142,6 @@ extern rtx gen_rtx_REG PROTO((enum machine_mode, int)); extern rtx find_next_ref PROTO((rtx, rtx)); extern rtx *find_single_use PROTO((rtx, rtx, rtx *)); -/* It is hard to write the prototype for expand_expr, since it needs - expr.h to be included for the enumeration. */ - -extern rtx expand_expr (); - extern rtx output_constant_def PROTO((union tree_node *)); extern rtx immed_real_const PROTO((union tree_node *)); extern union tree_node *make_tree PROTO((union tree_node *, rtx)); @@ -1535,5 +1530,4 @@ extern void init_alias_analysis PROTO ((void)); extern void end_alias_analysis PROTO ((void)); extern void record_base_value PROTO ((int, rtx, int)); - #endif /* _RTL_H */ diff --git a/gcc/toplev.h b/gcc/toplev.h index fa9b365b752..a598f4dabe3 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -59,4 +59,6 @@ extern void set_float_handler PROTO((jmp_buf)); extern void output_quoted_string PROTO ((FILE *, char *)); #endif +extern void fancy_abort PROTO ((void)); + #endif /* __GCC_TOPLEV_H */ -- 2.30.2