sim: callback: use ATTRIBUTE_NORETURN

This define is handled by ansidecl.h, so no need to duplicate effort.
This commit is contained in:
Mike Frysinger
2021-04-24 13:58:04 -04:00
parent 2e4885ee8f
commit 7fb6dc36bb
2 changed files with 5 additions and 5 deletions

View File

@ -121,11 +121,7 @@ struct host_callback_struct
/* Print an error message and "exit".
In the case of gdb "exiting" means doing a longjmp back to the main
command loop. */
void (*error) (host_callback *, const char *, ...)
#ifdef __GNUC__
__attribute__ ((__noreturn__))
#endif
;
void (*error) (host_callback *, const char *, ...) ATTRIBUTE_NORETURN;
int last_errno; /* host format */