From: Marek Olšák Date: Thu, 5 Mar 2020 21:03:19 +0000 (-0500) Subject: glthread: don't declare unmarshal functions as inline X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=b13d5265cce6b9879af197b629c188577ae0be2a glthread: don't declare unmarshal functions as inline They are never inlined. Reviewed-by: Timothy Arceri Tested-by: Marge Bot Part-of: --- 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('{')