diff options
author | malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-02-01 22:19:27 +0000 |
---|---|---|
committer | malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-02-01 22:19:27 +0000 |
commit | a5e50b263a54a41239a90930c1a27ecb76531e1b (patch) | |
tree | 5d9ebfb07c088686e1d6ce13941da947e44d8b76 /target-i386 | |
parent | 173a543b36d0b2491438cf1dcc2c7bb34d59bb5c (diff) | |
download | qemu-a5e50b263a54a41239a90930c1a27ecb76531e1b.zip qemu-a5e50b263a54a41239a90930c1a27ecb76531e1b.tar.gz qemu-a5e50b263a54a41239a90930c1a27ecb76531e1b.tar.bz2 |
Replace noreturn with QEMU_NORETURN
Thanks to Robert Riebisch for analysis [1]
[1] http://marc.info/?l=qemu-devel&m=123352293319271&w=2
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6492 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/exec.h | 4 | ||||
-rw-r--r-- | target-i386/op_helper.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/target-i386/exec.h b/target-i386/exec.h index 2689823..b51667a 100644 --- a/target-i386/exec.h +++ b/target-i386/exec.h @@ -63,8 +63,8 @@ void do_interrupt(int intno, int is_int, int error_code, target_ulong next_eip, int is_hw); void do_interrupt_user(int intno, int is_int, int error_code, target_ulong next_eip); -void noreturn raise_exception_err(int exception_index, int error_code); -void noreturn raise_exception(int exception_index); +void QEMU_NORETURN raise_exception_err(int exception_index, int error_code); +void QEMU_NORETURN raise_exception(int exception_index); void do_smm_enter(void); /* n must be a constant to be efficient */ diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c index 3b43b9e..c2eda86 100644 --- a/target-i386/op_helper.c +++ b/target-i386/op_helper.c @@ -1303,8 +1303,8 @@ static int check_exception(int intno, int *error_code) * EIP value AFTER the interrupt instruction. It is only relevant if * is_int is TRUE. */ -static void noreturn raise_interrupt(int intno, int is_int, int error_code, - int next_eip_addend) +static void QEMU_NORETURN raise_interrupt(int intno, int is_int, int error_code, + int next_eip_addend) { if (!is_int) { helper_svm_check_intercept_param(SVM_EXIT_EXCP_BASE + intno, error_code); |