Fix sys-queue.h conflict for good
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 12 Sep 2009 07:36:22 +0000 (07:36 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 12 Sep 2009 07:36:22 +0000 (07:36 +0000)
commitec58ce9f410d6a8c59612b6cfcdd153b13a65431
tree4d13c505a692104406090e94dd654fd1e98ec34e
parentde79cc11f97065823d5e9b3e2cee50fb3d3809ac
Fix sys-queue.h conflict for good

Problem: Our file sys-queue.h is a copy of the BSD file, but there are
some additions and it's not entirely compatible. Because of that, there have
been conflicts with system headers on BSD systems. Some hacks have been
introduced in the commits 15cc9235840a22c289edbe064a9b3c19c5f49896,
f40d753718c72693c5f520f0d9899f6e50395e94,
96555a96d724016e13190b28cffa3bc929ac60dc and
3990d09adf4463eca200ad964cc55643c33feb50 but the fixes were fragile.

Solution: Avoid the conflict entirely by renaming the functions and the
file. Revert the previous hacks.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
65 files changed:
acl.c
acl.h
aio.c
audio/audio.c
audio/audio.h
audio/audio_int.h
audio/audio_template.h
block.c
block/qcow2-cluster.c
block/qcow2.c
block/qcow2.h
check-qdict.c
cpu-defs.h
cpu-exec.c
envlist.c
exec.c
hw/device-hotplug.c
hw/i2c.c
hw/pci-hotplug.c
hw/qdev.c
hw/qdev.h
hw/ssi.c
hw/usb-bus.c
hw/usb-net.c
hw/usb.h
hw/watchdog.c
hw/watchdog.h
hw/xen_backend.c
hw/xen_backend.h
hw/xen_devconfig.c
hw/xen_disk.c
kvm-all.c
kvm.h
linux-user/elfload.c
linux-user/qemu.h
module.c
monitor.c
net.c
net.h
posix-aio-compat.c
qdict.c
qdict.h
qemu-char.c
qemu-char.h
qemu-config.c
qemu-option.c
qemu-option.h
qemu-queue.h [moved from sys-queue.h with 81% similarity]
qemu-sockets.c
savevm.c
slirp/slirp.c
slirp/slirp.h
sysemu.h
target-alpha/translate.c
target-arm/translate.c
target-cris/translate.c
target-i386/helper.c
target-i386/translate.c
target-m68k/translate.c
target-microblaze/translate.c
target-mips/translate.c
target-ppc/translate.c
target-sh4/translate.c
target-sparc/translate.c
vl.c