panfrost: Add missing static inline annotation

Quiets -Wunused-function

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Italo Nicola <italonicola@collabora.com>
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24428>
This commit is contained in:
Alyssa Rosenzweig
2023-08-01 10:40:11 -04:00
committed by Marge Bot
parent 2b09ab4bad
commit df879723b3
+2 -2
View File
@@ -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;