glthread: don't declare unmarshal functions as inline
authorMarek Olšák <marek.olsak@amd.com>
Thu, 5 Mar 2020 21:03:19 +0000 (16:03 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 20 Mar 2020 00:00:22 +0000 (00:00 +0000)
They are never inlined.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4251>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4251>

src/mapi/glapi/gen/gl_marshal.py

index ce5cbb275e3f94621b16d170251906417bd8f8fa..6403b75bbc6981d48349ad6d9106d513f3234956 100644 (file)
@@ -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('{')