Thanks, applied.
On Sat, Jun 23, 2012 at 6:41 PM, Stefan Weil <s...@weilnetz.de> wrote:
> The new inline function qemu_log_vprintf should use this attribute.
>
> Signed-off-by: Stefan Weil <s...@weilnetz.de>
> ---
> qemu-log.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/qemu-log.h b/qemu-log.h
> index 40f8b7b..db0f23d 100644
> --- a/qemu-log.h
> +++ b/qemu-log.h
> @@ -51,7 +51,8 @@ void GCC_FMT_ATTR(1, 2) qemu_log(const char *fmt, ...);
>
> /* vfprintf-like logging function
> */
> -static inline void qemu_log_vprintf(const char *fmt, va_list va)
> +static inline void GCC_FMT_ATTR(1, 0)
> +qemu_log_vprintf(const char *fmt, va_list va)
> {
> if (qemu_logfile) {
> vfprintf(qemu_logfile, fmt, va);
> --
> 1.7.10
>