]> git.proxmox.com Git - qemu.git/commit
Move macros GCC_ATTR and GCC_FMT_ATTR to common header file
authorStefan Weil <weil@mail.berlios.de>
Tue, 21 Sep 2010 20:27:49 +0000 (22:27 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 22 Sep 2010 20:15:11 +0000 (20:15 +0000)
commit9c9e7d51bf01afdd4902bc9832c4a6ec19f68d0b
treec711a024a47dfda080c4bd694fc47f29e4dad867
parent80bb8cba0af8a77341ef91ff9d5a2d84cad1880f
Move macros GCC_ATTR and GCC_FMT_ATTR to common header file

By moving the definition of GCC_ATTR and GCC_FMT_ATTR
from audio_int.h to qemu-common.h these macros are
now generally available for further patches which add
the gcc format attribute.

Newer gcc versions support format gnu_printf which is
better suited for use in QEMU than format printf
(QEMU always uses standard format strings (even with mingw32)).

V2: Use correct operator '==' (instead of '=')

Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
audio/audio_int.h
qemu-common.h