From 2a8922a97b4524fa1d95c1947215bc681b6f2962 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Tue, 6 Jan 2009 23:39:28 +0000 Subject: * callback.c (os_error): Mark as being a noreturn function. * sim-io.h (sim_io_error): Similar for sim_io_error. --- sim/common/sim-io.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sim/common/sim-io.h') diff --git a/sim/common/sim-io.h b/sim/common/sim-io.h index 6dfbeef..04aa315 100644 --- a/sim/common/sim-io.h +++ b/sim/common/sim-io.h @@ -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); -- cgit v1.1