* callback.c (os_error): Mark as being a noreturn function.

* sim-io.h (sim_io_error): Similar for sim_io_error.
This commit is contained in:
Hans-Peter Nilsson
2009-01-06 23:39:28 +00:00
parent ec383c736c
commit 2a8922a97b
3 changed files with 13 additions and 2 deletions

View File

@@ -75,7 +75,9 @@ 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__ ((format (printf, 2, 3)))
__attribute__ ((__noreturn__));
void sim_io_poll_quit (SIM_DESC sd);