From: Blue Swirl <blauwir...@gmail.com> I entertained myself by compiling QEMU with -std=c99 -pedantic and fixing some issues found with that.
Blue Swirl (5): Avoid GCC extension ?: Avoid returning void Use __asm__ instead of asm or __asm Avoid unportable %m format Avoid redefining inline block.c | 8 +++++--- block/qcow2.c | 6 ++++-- bswap.h | 40 ++++++++++++++++++++-------------------- bt-vhci.c | 2 +- cache-utils.h | 10 +++++----- dma.h | 6 +++--- exec-all.h | 6 +++--- hw/bt-hci.c | 5 +++-- hw/bt-l2cap.c | 11 +++++++---- hw/bt.c | 2 +- hw/eepro100.c | 15 +++++++++++---- hw/gumstix.c | 3 ++- hw/ide/cmd646.c | 6 +++--- hw/ide/piix.c | 3 ++- hw/ide/via.c | 3 ++- hw/lan9118.c | 6 ++++-- hw/ne2000.c | 8 ++++---- hw/omap2.c | 4 ++-- hw/omap_clk.c | 4 ++-- hw/omap_uart.c | 4 ++-- hw/onenand.c | 9 +++++---- hw/qdev-addr.c | 2 +- hw/qdev-monitor.c | 3 ++- hw/qdev-properties.c | 4 ++-- hw/qdev.c | 3 ++- hw/scsi-disk.c | 3 ++- hw/tsc210x.c | 7 +++++-- hw/usb/dev-hub.c | 2 +- hw/vmware_vga.c | 9 ++++++--- hw/wm8750.c | 9 ++++++--- hw/xen_disk.c | 4 +++- kvm-all.c | 3 ++- main-loop.c | 2 +- net/tap-linux.c | 8 +++++--- osdep.h | 2 ++ path.c | 5 ++++- qemu-barrier.h | 14 +++++++------- qemu-nbd.c | 3 +-- qemu-timer.h | 18 +++++++++--------- target-i386/cpu.c | 26 +++++++++++++------------- target-ppc/kvm.c | 4 ++-- target-ppc/kvm_ppc.h | 2 +- tcg/arm/tcg-target.h | 8 ++++---- tcg/hppa/tcg-target.h | 10 +++++----- tcg/ia64/tcg-target.h | 4 ++-- tcg/s390/tcg-target.c | 14 +++++++------- tcg/tcg.c | 2 +- tests/libqtest.c | 2 +- ui/vnc-auth-vencrypt.c | 3 ++- ui/vnc.c | 2 +- vl.c | 3 ++- 51 files changed, 193 insertions(+), 149 deletions(-) -- 1.7.2.5