From 1fef66b0dcc09c9114100e782ea54594550e8fb7 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 13 Jun 2021 23:16:32 -0400 Subject: sim: split sim-signal.h include out The sim-basics.h is too big and includes too many things. This leads to some arch's sim-main.h having circular loop issues with defs, and makes it hard to separate out common objects from arch-specific defs. By splitting up sim-basics.h and killing off sim-main.h, it'll make it easier to separate out the two. --- sim/example-synacor/ChangeLog | 4 ++++ sim/example-synacor/sim-main.c | 1 + 2 files changed, 5 insertions(+) (limited to 'sim/example-synacor') diff --git a/sim/example-synacor/ChangeLog b/sim/example-synacor/ChangeLog index 4f2c8c5..a55ed0f 100644 --- a/sim/example-synacor/ChangeLog +++ b/sim/example-synacor/ChangeLog @@ -1,3 +1,7 @@ +2021-06-18 Mike Frysinger + + * sim-main.c: Include sim-signal.h. + 2021-06-17 Mike Frysinger * configure.ac: Delete SIM_AC_OPTION_ENDIAN call. diff --git a/sim/example-synacor/sim-main.c b/sim/example-synacor/sim-main.c index d7a68b3..ccefe1b 100644 --- a/sim/example-synacor/sim-main.c +++ b/sim/example-synacor/sim-main.c @@ -25,6 +25,7 @@ #include "defs.h" #include "sim-main.h" +#include "sim-signal.h" /* Get the register number from the number. */ static unsigned16 -- cgit v1.1