aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-engine.h')
-rw-r--r--sim/common/sim-engine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/sim-engine.h b/sim/common/sim-engine.h
index 25d06f7..5adce8d 100644
--- a/sim/common/sim-engine.h
+++ b/sim/common/sim-engine.h
@@ -115,14 +115,14 @@ extern void sim_engine_abort
sim_cpu *cpu,
sim_cia cia,
const char *fmt,
- ...) __attribute__ ((format (printf, 4, 5))) __attribute__ ((noreturn));
+ ...) ATTRIBUTE_PRINTF (4, 5) __attribute__ ((noreturn));
extern void sim_engine_vabort
(SIM_DESC sd,
sim_cpu *cpu,
sim_cia cia,
const char *fmt,
- va_list ap) __attribute__ ((noreturn));
+ va_list ap) ATTRIBUTE_PRINTF (4, 0) __attribute__ ((noreturn));
/* No abort hook - when possible this function exits using the
engine_halt function (and SIM_ENGINE_HALT_HOOK). */