qemu-e2k/include/qemu
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
..
acl.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
atomic.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
bitmap.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
bitops.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
bswap.h bswap: improve gluing 2013-01-16 19:31:18 -06:00
cache-utils.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
compatfd.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
compiler.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
config-file.h qemu-option: move standard option definitions out of qemu-config.c 2013-01-12 17:17:53 +01:00
envlist.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
error-report.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
event_notifier.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
host-utils.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
int128.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
iov.h iov: add iov_discard_front/back() to remove data 2013-01-02 15:58:05 +01:00
log.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
main-loop.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
module.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
notify.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
option_int.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
option.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
osdep.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
queue.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
range.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
ratelimit.h stream: fix ratelimit_set_speed 2012-11-30 11:33:24 +01:00
rng-random.h qom: move include files to include/qom/ 2012-12-19 08:31:32 +01:00
rng.h qom: move include files to include/qom/ 2012-12-19 08:31:32 +01:00
sockets.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
thread-posix.h Disable semaphores fallback code for OpenBSD 2012-12-28 16:11:52 +00:00
thread-win32.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
thread.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
timer.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
tls.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
typedefs.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
uri.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
xattr.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00