From 20bca71d82598a015de0991196e45f0b5f7ead81 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 18 Apr 2015 04:19:56 -0400 Subject: sim: unify SIM_CPU definition Since every target typedefs this the same way, move it to the common code. We have to leave Blackfin behind here for now because of inter-dependencies on types and headers: sim-base.h includes sim-model.h which needs types in machs.h which needs types in bfim-sim.h which needs SIM_CPU. --- sim/m32r/sim-main.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'sim/m32r/sim-main.h') diff --git a/sim/m32r/sim-main.h b/sim/m32r/sim-main.h index 6839a41..d296c53 100644 --- a/sim/m32r/sim-main.h +++ b/sim/m32r/sim-main.h @@ -5,9 +5,6 @@ #define USING_SIM_BASE_H /* FIXME: quick hack */ -struct _sim_cpu; /* FIXME: should be in sim-basics.h */ -typedef struct _sim_cpu SIM_CPU; - #include "symcat.h" #include "sim-basics.h" #include "cgen-types.h" -- cgit v1.1