From e79b75a3cfcccdd7d6f6ee548f855ca6c109d97e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 22 Dec 2022 22:35:11 -0500 Subject: sim: cr16: move arch-specific settings to internal header There's no need for these settings to be in sim-main.h which is shared with common/ sim code, so drop the cr16_sim.h include and move it to the few files that actually need it. Also rename the file to standardize it a bit better with other ports. --- sim/cr16/simops.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sim/cr16/simops.c') diff --git a/sim/cr16/simops.c b/sim/cr16/simops.c index 6eefe1b..39a7214 100644 --- a/sim/cr16/simops.c +++ b/sim/cr16/simops.c @@ -38,6 +38,8 @@ #include "simops.h" #include "target-newlib-syscall.h" +#include "cr16-sim.h" + #ifdef HAVE_UTIME_H #include #endif -- cgit v1.1