diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-05-02 00:07:21 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-05-02 10:58:20 -0400 |
commit | f0c4dc40b2e16a876b5b61986de5014a78f76a5c (patch) | |
tree | 081740977f36d35892d79c180e792104293acfe8 /sim/common/sim-profile.c | |
parent | d89a87ba3c100bdbe82c7bd98ad7b8a2435e002f (diff) | |
download | binutils-f0c4dc40b2e16a876b5b61986de5014a78f76a5c.zip binutils-f0c4dc40b2e16a876b5b61986de5014a78f76a5c.tar.gz binutils-f0c4dc40b2e16a876b5b61986de5014a78f76a5c.tar.bz2 |
sim: replace custom attributes with ansidecl.h
A lot of this code predates the common attributes. We had already
started migrating over piece by piece, so just do a pass across all
the attributes and replace most of them.
Diffstat (limited to 'sim/common/sim-profile.c')
-rw-r--r-- | sim/common/sim-profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/sim-profile.c b/sim/common/sim-profile.c index 5508f0f..75bdc70 100644 --- a/sim/common/sim-profile.c +++ b/sim/common/sim-profile.c @@ -466,7 +466,7 @@ profile_vprintf (SIM_DESC sd, sim_cpu *cpu, const char *fmt, va_list ap) sim_io_evprintf (sd, fmt, ap); } -__attribute__ ((format (printf, 3, 4))) +ATTRIBUTE_PRINTF (3, 4) static void profile_printf (SIM_DESC sd, sim_cpu *cpu, const char *fmt, ...) { |