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
2013-01-10 15:11:53 -06:00
2013-01-14 10:23:50 -06:00
2013-01-16 12:14:20 -06:00
2013-01-16 19:31:18 -06:00
2012-12-19 08:29:06 +01:00
2013-01-07 17:37:11 +01:00
2013-01-12 12:26:16 +00:00
2013-01-16 12:14:20 -06:00
2013-01-15 04:09:13 +01:00
2012-12-20 23:08:47 +01:00
2013-01-16 06:58:54 +01:00
2013-01-16 06:58:54 +01:00
2013-01-16 12:15:26 -06:00
2012-12-20 23:09:25 +01:00
2013-01-15 04:09:14 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%