From dc3de083d522ef0fb465adaacd065a61481d4007 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 5 Jun 2021 23:10:14 -0400 Subject: [PATCH] sim: mn10300: tweak engine halt hook The hook is a void func, so defining it to 0 triggers warnings, and isn't really needed. --- sim/mn10300/ChangeLog | 4 ++++ sim/mn10300/sim-main.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index a813e4e3b34..1fd873b7bc9 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,3 +1,7 @@ +2021-06-09 Mike Frysinger + + * sim-main.h (SIM_ENGINE_HALT_HOOK): Delete 0. + 2021-06-08 Mike Frysinger * Makefile.in: Replace $(IGEN) with $(IGEN_RUN) and ../igen/igen diff --git a/sim/mn10300/sim-main.h b/sim/mn10300/sim-main.h index e184613860b..87507294183 100644 --- a/sim/mn10300/sim-main.h +++ b/sim/mn10300/sim-main.h @@ -22,7 +22,7 @@ #ifndef SIM_MAIN_H #define SIM_MAIN_H -#define SIM_ENGINE_HALT_HOOK(SD,LAST_CPU,CIA) 0 /* disable this hook */ +#define SIM_ENGINE_HALT_HOOK(SD,LAST_CPU,CIA) /* disable this hook */ #include "sim-basics.h" #include "sim-signal.h" -- 2.30.2