sim: mn10300: tweak engine halt hook

Message ID 20210606173315.24594-1-vapier@gentoo.org
State New
Headers show
Series
  • sim: mn10300: tweak engine halt hook
Related show

Commit Message

Lancelot SIX via Gdb-patches June 6, 2021, 5:33 p.m.
The hook is a void func, so defining it to 0 triggers warnings,
and isn't really needed.
---
 sim/mn10300/sim-main.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.31.1

Patch

diff --git a/sim/mn10300/sim-main.h b/sim/mn10300/sim-main.h
index e184613860b5..875072941839 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"