Add fprintf_function for function pointers to fprintf-like functions
commitf868445a502a75b6ac785dddbcc3233cc5f986b0
authorStefan Weil <weil@mail.berlios.de>
Fri, 22 Oct 2010 21:03:30 +0000 (22 23:03 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 30 Oct 2010 08:01:57 +0000 (30 08:01 +0000)
tree82d530110ddc60a8dd532af036dbc79de0ce9be9
parent338b922edd88440ef555f08d6924609915c6f00c
Add fprintf_function for function pointers to fprintf-like functions

This kind of function pointers is used very often in qemu.

The new data type uses format checking with GCC_FMT_ATTR
and will be used in later patches.

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