qemu-e2k/include
Blue Swirl a4cbfe24e4 bswap: improve gluing
OpenBSD system compiler (gcc 4.2.1) has problems with concatenation
of macro arguments in macro functions:
  CC    aes.o
In file included from /src/qemu/include/qemu-common.h:126,
                 from /src/qemu/aes.c:30:
/src/qemu/include/qemu/bswap.h: In function 'leul_to_cpu':
/src/qemu/include/qemu/bswap.h:461: warning: implicit declaration of function 'bswapHOST_LONG_BITS'
/src/qemu/include/qemu/bswap.h:461: warning: nested extern declaration of 'bswapHOST_LONG_BITS'

Function leul_to_cpu() is only used in kvm-all.c, so the warnings
are not fatal on OpenBSD without -Werror.

Fix by applying glue(). Also add do {} while(0) wrapping and fix
semicolon use while at it.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-01-16 19:31:18 -06:00
..
block block: make qiov_is_aligned() public 2013-01-14 10:06:56 +01:00
bt softmmu: move remaining include files to include/ subdirectories 2012-12-19 08:32:46 +01:00
char chardev: fix QemuOpts lifecycle 2013-01-16 06:58:53 +01:00
disas build: kill libdis, move disassemblers to disas/ 2012-12-19 08:29:06 +01:00
exec exec: Return CPUState from qemu_get_cpu() 2013-01-15 04:09:14 +01:00
fpu softfloat: Implement uint64_to_float128 2013-01-05 10:12:50 +00:00
migration migration: merge QEMUFileBuffered into MigrationState 2012-12-20 23:09:40 +01:00
monitor monitor: move include files to include/monitor/ 2012-12-19 08:31:32 +01:00
net misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
qapi misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
qemu bswap: improve gluing 2013-01-16 19:31:18 -06:00
qom Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2013-01-15 16:53:10 -06:00
sysemu kvm: Add fake KVM constants to avoid #ifdefs on KVM-specific code 2013-01-15 04:09:14 +01:00
ui pixman: fix warning 2013-01-12 12:42:55 +00:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
libfdt_env.h fdt: Use bswapN instead of bswap_N 2013-01-12 12:22:58 +00:00
qemu-common.h qemu-common.h: Make qemu_init_vcpu() stub static inline 2013-01-08 21:03:44 +01:00
trace.h build: some simplifications for "trace/Makefile.objs" 2013-01-12 18:42:51 +01:00