OSDN Git Service

audio: Replace static functions in header file by macros, remove GCC_ATTR
authorStefan Weil <sw@weilnetz.de>
Sun, 16 Jun 2013 09:19:31 +0000 (11:19 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 21 Jun 2013 18:52:50 +0000 (22:52 +0400)
commit87e613ea9ed30f4217fd11aa2ad28a9fb4f1c54a
tree5c93a1999d2a2742ff47cb6c188fd8992e9074ff
parent48f0475f813dfa5ceb0e1f10c2ac3f28a8af583b
audio: Replace static functions in header file by macros, remove GCC_ATTR

Using macros instead of static functions for dolog and for ldebug
simplifies the code and can also reduce the total code size.

GCC_ATTR was only used in audio_int.h, so it is now unused and
the definition can be removed from compiler.h.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
audio/audio_int.h
include/qemu/compiler.h