aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/sim_callbacks.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-15 20:46:10 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-16 01:14:05 -0400
commit69ff2dac7a3adb26dbe1ee56cdf369513bdcf906 (patch)
tree2381e7738f3ffd872d4b2d404db3bf1e1540b0f7 /sim/ppc/sim_callbacks.h
parent3547f99a3092d262a23c120aa8d97945ccf3eeb6 (diff)
downloadgdb-69ff2dac7a3adb26dbe1ee56cdf369513bdcf906.zip
gdb-69ff2dac7a3adb26dbe1ee56cdf369513bdcf906.tar.gz
gdb-69ff2dac7a3adb26dbe1ee56cdf369513bdcf906.tar.bz2
sim: ppc: use common ATTRIBUTE_PRINTF macros
Use the common ansidecl.h macros to replace our ad-hoc printf attributes.
Diffstat (limited to 'sim/ppc/sim_callbacks.h')
-rw-r--r--sim/ppc/sim_callbacks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/sim_callbacks.h b/sim/ppc/sim_callbacks.h
index e4d9c70..2b5f2a2 100644
--- a/sim/ppc/sim_callbacks.h
+++ b/sim/ppc/sim_callbacks.h
@@ -29,7 +29,7 @@
#define printf_filtered sim_io_printf_filtered
void sim_io_printf_filtered
-(const char *msg, ...) __attribute__ ((format (printf, 1, 2)));
+(const char *msg, ...) ATTRIBUTE_PRINTF_1;
void ATTRIBUTE_NORETURN error
(const char *msg, ...);