aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-utils.h')
-rw-r--r--sim/common/sim-utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/common/sim-utils.h b/sim/common/sim-utils.h
index f089245..9cc19f5 100644
--- a/sim/common/sim-utils.h
+++ b/sim/common/sim-utils.h
@@ -68,7 +68,8 @@ struct bfd *sim_load_file (SIM_DESC sd, const char *myname,
int lma_p, sim_write_fn do_load);
/* Internal version of sim_do_command, include formatting */
-void sim_do_commandf (SIM_DESC sd, const char *fmt, ...);
+void sim_do_commandf (SIM_DESC sd, const char *fmt, ...)
+ ATTRIBUTE_PRINTF (2, 3);
/* These are defined in callback.c as cover functions to the vprintf