Fix most warnings (errors with -Werror) when debugging is enabled
commitdd500a9241f4b7ac12c737fe5f929a53bd965e47
authorBlue Swirl <blauwirbel@gmail.com>
Mon, 20 Jul 2009 17:19:25 +0000 (20 17:19 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 22 Jul 2009 20:41:01 +0000 (22 15:41 -0500)
tree1286bd1297e705e51709c555d2a847af249d1289
parentb2b2d9dd2d07993fb92f2aebdce4f4729be7b6c1
Fix most warnings (errors with -Werror) when debugging is enabled

I used the following command to enable debugging:
perl -p -i -e 's/^\/\/#define DEBUG/#define DEBUG/g' * */* */*/*

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
21 files changed:
block/qcow2-refcount.c
block/raw-posix.c
buffered_file.c
exec.c
hw/cirrus_vga.c
hw/i8259.c
hw/openpic.c
hw/ppc_prep.c
hw/scsi-disk.c
hw/slavio_timer.c
hw/sun4c_intctl.c
hw/usb-ohci.c
hw/usb-uhci.c
hw/vga.c
linux-user/mmap.c
linux-user/signal.c
linux-user/syscall.c
qemu-tool.c
target-ppc/helper.c
target-sparc/helper.c
target-sparc/op_helper.c