diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e62a02f5bcf..ee3c61f588c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-06-16 Ian Lance Taylor + + * sel-sched.c: Make forward declarations of move_op_hooks and + fur_hooks explicitly extern. + 2009-06-16 Ian Lance Taylor * df-problems.c (df_byte_lr_alloc): Don't set problem_data to diff --git a/gcc/sel-sched.c b/gcc/sel-sched.c index a7dedc5ef2d..7ec31f18c3f 100644 --- a/gcc/sel-sched.c +++ b/gcc/sel-sched.c @@ -448,7 +448,7 @@ struct code_motion_path_driver_info_def *code_motion_path_driver_info; /* Set of hooks for performing move_op and find_used_regs routines with code_motion_path_driver. */ -struct code_motion_path_driver_info_def move_op_hooks, fur_hooks; +extern struct code_motion_path_driver_info_def move_op_hooks, fur_hooks; /* True if/when we want to emulate Haifa scheduler in the common code. This is used in sched_rgn_local_init and in various places in