disas/arm-a64: Add missing compiler attribute GCC_FMT_ATTR

Type fprintf_function which fits here was defined with this attribute.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1437208027-14584-1-git-send-email-sw@weilnetz.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Stefan Weil 2015-07-21 11:18:45 +01:00 committed by Peter Maydell
parent 4b7a6bf402
commit 57b73090e0

View File

@ -42,7 +42,7 @@ public:
stream_ = stream; stream_ = stream;
} }
void SetPrintf(int (*printf_fn)(FILE *, const char *, ...)) { void SetPrintf(fprintf_function printf_fn) {
printf_ = printf_fn; printf_ = printf_fn;
} }
@ -53,7 +53,7 @@ protected:
} }
private: private:
int (*printf_)(FILE *, const char *, ...); fprintf_function printf_;
FILE *stream_; FILE *stream_;
}; };