aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-hw.h')
-rw-r--r--sim/common/sim-hw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/sim-hw.h b/sim/common/sim-hw.h
index 95b9856..976a220 100644
--- a/sim/common/sim-hw.h
+++ b/sim/common/sim-hw.h
@@ -32,7 +32,7 @@ SIM_RC sim_hw_install
struct hw *sim_hw_parse
(struct sim_state *sd,
const char *fmt,
- ...) __attribute__ ((format (printf, 2, 3)));
+ ...) ATTRIBUTE_PRINTF (2, 3);
/* Print the hardware tree */
@@ -48,7 +48,7 @@ void sim_hw_abort
(SIM_DESC sd,
struct hw *hw,
const char *fmt,
- ...) __attribute__ ((format (printf, 3, 4), noreturn));
+ ...) ATTRIBUTE_PRINTF (3, 4) ATTRIBUTE_NORETURN;