diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-15 20:46:10 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-16 01:14:05 -0400 |
commit | 69ff2dac7a3adb26dbe1ee56cdf369513bdcf906 (patch) | |
tree | 2381e7738f3ffd872d4b2d404db3bf1e1540b0f7 /sim/ppc/tree.h | |
parent | 3547f99a3092d262a23c120aa8d97945ccf3eeb6 (diff) | |
download | gdb-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.h | 2 |
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\ |