Module: Mesa Branch: main Commit: df879723b376da3b0602128fc0984d31f810ffa8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=df879723b376da3b0602128fc0984d31f810ffa8
Author: Alyssa Rosenzweig <[email protected]> Date: Tue Aug 1 10:40:11 2023 -0400 panfrost: Add missing static inline annotation Quiets -Wunused-function Signed-off-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Italo Nicola <[email protected]> Acked-by: Faith Ekstrand <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24428> --- src/panfrost/lib/genxml/decode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panfrost/lib/genxml/decode.h b/src/panfrost/lib/genxml/decode.h index acd2abc6f00..517153314ba 100644 --- a/src/panfrost/lib/genxml/decode.h +++ b/src/panfrost/lib/genxml/decode.h @@ -112,7 +112,7 @@ pandecode_make_indent(void) fprintf(pandecode_dump_stream, " "); } -static void PRINTFLIKE(1, 2) pandecode_log(const char *format, ...) +static inline void PRINTFLIKE(1, 2) pandecode_log(const char *format, ...) { va_list ap; @@ -122,7 +122,7 @@ static void PRINTFLIKE(1, 2) pandecode_log(const char *format, ...) va_end(ap); } -static void +static inline void pandecode_log_cont(const char *format, ...) { va_list ap;
