From b13d5265cce6b9879af197b629c188577ae0be2a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 5 Mar 2020 16:03:19 -0500 Subject: [PATCH 1/1] glthread: don't declare unmarshal functions as inline They are never inlined. Reviewed-by: Timothy Arceri Tested-by: Marge Bot Part-of: --- src/mapi/glapi/gen/gl_marshal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_marshal.py b/src/mapi/glapi/gen/gl_marshal.py index ce5cbb275e3..6403b75bbc6 100644 --- a/src/mapi/glapi/gen/gl_marshal.py +++ b/src/mapi/glapi/gen/gl_marshal.py @@ -174,7 +174,7 @@ class PrintCode(gl_XML.gl_print_base): out('};') def print_async_unmarshal(self, func): - out('static inline void') + out('static void') out(('_mesa_unmarshal_{0}(struct gl_context *ctx, ' 'const struct marshal_cmd_{0} *cmd)').format(func.name)) out('{') -- 2.30.2