Skip to content
Snippets Groups Projects
Commit 57b73090 authored by Stefan Weil's avatar Stefan Weil Committed by Peter Maydell
Browse files

disas/arm-a64: Add missing compiler attribute GCC_FMT_ATTR


Type fprintf_function which fits here was defined with this attribute.

Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Message-id: 1437208027-14584-1-git-send-email-sw@weilnetz.de
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent 4b7a6bf4
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ public:
stream_ = stream;
}
void SetPrintf(int (*printf_fn)(FILE *, const char *, ...)) {
void SetPrintf(fprintf_function printf_fn) {
printf_ = printf_fn;
}
......@@ -53,7 +53,7 @@ protected:
}
private:
int (*printf_)(FILE *, const char *, ...);
fprintf_function printf_;
FILE *stream_;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment