diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2009-01-06 23:39:28 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2009-01-06 23:39:28 +0000 |
commit | 2a8922a97b4524fa1d95c1947215bc681b6f2962 (patch) | |
tree | 34b8ccae2f2666963959667e4025c2772d0603c5 /sim/common/sim-io.h | |
parent | ec383c736ce5a058ba7f0b55099d5fa9af046222 (diff) | |
download | gdb-2a8922a97b4524fa1d95c1947215bc681b6f2962.zip gdb-2a8922a97b4524fa1d95c1947215bc681b6f2962.tar.gz gdb-2a8922a97b4524fa1d95c1947215bc681b6f2962.tar.bz2 |
* callback.c (os_error): Mark as being a noreturn function.
* sim-io.h (sim_io_error): Similar for sim_io_error.
Diffstat (limited to 'sim/common/sim-io.h')
-rw-r--r-- | sim/common/sim-io.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); |