diff options
author | Wei Jiangang <weijg.fnst@cn.fujitsu.com> | 2016-04-14 11:58:02 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2016-05-18 15:04:27 +0300 |
commit | bdc3f61dec2f9c227235bb5f677a0272e1184c82 (patch) | |
tree | 0a4af7b223cf52390eeed6471e9917f32aab5f79 /include/sysemu/accel.h | |
parent | 3f3b5388d400a4e26718328809e6546b21fb4588 (diff) | |
download | qemu-bdc3f61dec2f9c227235bb5f677a0272e1184c82.zip qemu-bdc3f61dec2f9c227235bb5f677a0272e1184c82.tar.gz qemu-bdc3f61dec2f9c227235bb5f677a0272e1184c82.tar.bz2 |
accel: make configure_accelerator return void
Return the negated value of accel_initialised is meaningless,
and the caller vl doesn't check it.
Signed-off-by: Wei Jiangang <weijg.fnst@cn.fujitsu.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/sysemu/accel.h')
-rw-r--r-- | include/sysemu/accel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sysemu/accel.h b/include/sysemu/accel.h index a74b2fa..15944c1 100644 --- a/include/sysemu/accel.h +++ b/include/sysemu/accel.h @@ -56,6 +56,6 @@ typedef struct AccelClass { extern int tcg_tb_size; -int configure_accelerator(MachineState *ms); +void configure_accelerator(MachineState *ms); #endif |