OSDN Git Service

* sel-sched.c: Make forward declarations of move_op_hooks and
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jun 2009 19:09:35 +0000 (19:09 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jun 2009 19:09:35 +0000 (19:09 +0000)
fur_hooks explicitly extern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148549 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/sel-sched.c

index e62a02f..ee3c61f 100644 (file)
@@ -1,5 +1,10 @@
 2009-06-16  Ian Lance Taylor  <iant@google.com>
 
+       * sel-sched.c: Make forward declarations of move_op_hooks and
+       fur_hooks explicitly extern.
+
+2009-06-16  Ian Lance Taylor  <iant@google.com>
+
        * df-problems.c (df_byte_lr_alloc): Don't set problem_data to
        itself.
        * vec.c (vec_gc_o_reserve_1): Don't set alloc to itself.
index a7dedc5..7ec31f1 100644 (file)
@@ -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