]> git.proxmox.com Git - qemu.git/commit
arm host: fix compiler warning
authorStefan Weil <weil@mail.berlios.de>
Wed, 20 Jan 2010 18:43:25 +0000 (19:43 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 6 Feb 2010 22:16:05 +0000 (23:16 +0100)
commitbc4347b883e8175dadef77ed9e02ccaa5e8eba94
treeaf1f35c79686771564161e5c3525a7d55dbdad00
parent1d2699ae5a812b4b568ec9f19ab071f7932c4964
arm host: fix compiler warning

Compilation for arm (native or cross) results in this
warning:

fpu/softfloat-native.c: In function ‘float64_round_to_int’:
fpu/softfloat-native.c:387: error: control reaches end of non-void function

float64_round_to_int uses special assembler code for arm
and has no explicit return value.

As there is no obvious reason why arm should need special
code, all fpu related conditionals were removed.
The remaining code is standard (C99) and compiles for arm,
too.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Acked-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
fpu/softfloat-native.c
fpu/softfloat-native.h