aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2020-03-05 16:03:19 -0500
committerMarge Bot <[email protected]>2020-03-20 00:00:22 +0000
commitb13d5265cce6b9879af197b629c188577ae0be2a (patch)
treee64dc90ccd0affdd520342148d2763a361ac4e56 /src/mapi/glapi/gen
parentefaeac9e847a8234b1ea1cf32304c91f92b840a3 (diff)
glthread: don't declare unmarshal functions as inline
They are never inlined. Reviewed-by: Timothy Arceri <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4251> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4251>
Diffstat (limited to 'src/mapi/glapi/gen')
-rw-r--r--src/mapi/glapi/gen/gl_marshal.py2
1 files changed, 1 insertions, 1 deletions
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('{')