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.
This commit is contained in:
Mike Frysinger 2021-05-02 00:07:21 -04:00
parent d89a87ba3c
commit f0c4dc40b2
20 changed files with 79 additions and 63 deletions

View file

@ -63,21 +63,21 @@ int sim_io_close (SIM_DESC sd, int);
void sim_io_printf (SIM_DESC sd,
const char *fmt,
...) __attribute__ ((format (printf, 2, 3)));
...) ATTRIBUTE_PRINTF (2, 3);
void sim_io_vprintf (SIM_DESC sd, const char *fmt, va_list ap);
void sim_io_eprintf (SIM_DESC sd,
const char *fmt,
...) __attribute__ ((format (printf, 2, 3)));
...) ATTRIBUTE_PRINTF (2, 3);
void sim_io_evprintf (SIM_DESC sd, const char *fmt, va_list ap);
void sim_io_error (SIM_DESC sd,
const char *fmt,
...)
__attribute__ ((format (printf, 2, 3)))
__attribute__ ((__noreturn__));
ATTRIBUTE_PRINTF (2, 3)
ATTRIBUTE_NORETURN;
void sim_io_poll_quit (SIM_DESC sd);