From 3041cd4a4724dcf3090f21a278dc8989b19b45db Mon Sep 17 00:00:00 2001 From: mkuvyrkov Date: Wed, 17 Oct 2007 19:48:53 +0000 Subject: [PATCH] * config/m68k/m68k.h (m68k_sched_cpu, m68k_sched_attr_opx_type, m68k_sched_attr_opy_type, m68k_sched_attr_size, m68k_sched_attr_op_mem, m68k_sched_branch_type): Move declarations to ... * config/m68/m68k-protos.h: ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129416 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/m68k/m68k-protos.h | 10 ++++++++++ gcc/config/m68k/m68k.h | 7 ------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/gcc/config/m68k/m68k-protos.h b/gcc/config/m68k/m68k-protos.h index c6d6d33a3a8..7d1ea97ce0c 100644 --- a/gcc/config/m68k/m68k-protos.h +++ b/gcc/config/m68k/m68k-protos.h @@ -65,6 +65,16 @@ extern int emit_move_sequence (rtx *, enum machine_mode, rtx); extern bool m68k_movem_pattern_p (rtx, rtx, HOST_WIDE_INT, bool); extern const char *m68k_output_movem (rtx *, rtx, HOST_WIDE_INT, bool); +#ifdef HAVE_ATTR_cpu +extern enum attr_cpu m68k_sched_cpu; + +extern enum attr_opx_type m68k_sched_attr_opx_type (rtx, int); +extern enum attr_opy_type m68k_sched_attr_opy_type (rtx, int); +extern int m68k_sched_attr_size (rtx); +extern enum attr_op_mem m68k_sched_attr_op_mem (rtx); +extern enum attr_type m68k_sched_branch_type (rtx); +#endif /* HAVE_ATTR_cpu */ + #endif /* RTX_CODE */ extern bool m68k_regno_mode_ok (int, enum machine_mode); diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index 93b962a9fef..c077c35df71 100644 --- a/gcc/config/m68k/m68k.h +++ b/gcc/config/m68k/m68k.h @@ -1148,10 +1148,3 @@ extern M68K_CONST_METHOD m68k_const_method (HOST_WIDE_INT); extern void m68k_emit_move_double (rtx [2]); -extern enum attr_cpu m68k_sched_cpu; - -extern enum attr_opx_type m68k_sched_attr_opx_type (rtx, int); -extern enum attr_opy_type m68k_sched_attr_opy_type (rtx, int); -extern int m68k_sched_attr_size (rtx); -extern enum attr_op_mem m68k_sched_attr_op_mem (rtx); -extern enum attr_type m68k_sched_branch_type (rtx); -- 2.11.0