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

@ -698,10 +698,7 @@ os_evprintf_filtered (host_callback *p ATTRIBUTE_UNUSED, const char *format, va_
}
/* VARARGS */
#ifdef __GNUC__
__attribute__ ((__noreturn__))
#endif
static void ATTRIBUTE_PRINTF (2, 3)
static void ATTRIBUTE_PRINTF (2, 3) ATTRIBUTE_NORETURN
os_error (host_callback *p ATTRIBUTE_UNUSED, const char *format, ...)
{
va_list args;