]> git.proxmox.com Git - qemu.git/commit - qemu-os-win32.h
w32: Fix missing declaration of ffs()
authorStefan Weil <weil@mail.berlios.de>
Sun, 15 May 2011 07:51:59 +0000 (09:51 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 15 May 2011 10:34:39 +0000 (12:34 +0200)
commit077030d11e27811749020af744e67e4267ee90e1
tree60d978ad5fcb7e32872ecfd51fbfdd9d26570521
parent1de9756b97daec3c15f8048631af866e9cb58562
w32: Fix missing declaration of ffs()

target-ppc/cpu.h now needs ffs(), too, so ffs() must be declared
before this file is included.

Moving the declaration from qemu-common.h to qemu-os-win32.h
(which is included in qemu-common.h early) fixes the compiler
warning for w32.

Cc: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
qemu-common.h
qemu-os-win32.h