* callback.h (struct host_callback_struct): Mark member error as

pointing to a noreturn function.
This commit is contained in:
Hans-Peter Nilsson
2009-01-06 23:38:44 +00:00
parent 952801c27e
commit 98d47b2d0d
2 changed files with 10 additions and 1 deletions

View File

@ -124,7 +124,11 @@ 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) PARAMS ((host_callback *, const char *, ...));
void (*error) PARAMS ((host_callback *, const char *, ...))
#ifdef __GNUC__
__attribute__ ((__noreturn__))
#endif
;
int last_errno; /* host format */