aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/tree.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/tree.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/tree.h')
-rw-r--r--sim/ppc/tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/tree.h b/sim/ppc/tree.h
index 165612c..6e278d9 100644
--- a/sim/ppc/tree.h
+++ b/sim/ppc/tree.h
@@ -48,7 +48,7 @@ EXTERN_TREE\
(device *) tree_parse
(device *root,
const char *fmt,
- ...) __attribute__ ((format (printf, 2, 3)));
+ ...) ATTRIBUTE_PRINTF_2;
INLINE_TREE\