glthread: qualify the *cmd unmarshal parameter with restrict
authorMarek Olšák <marek.olsak@amd.com>
Sat, 13 Aug 2022 05:42:34 +0000 (01:42 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 12 Mar 2023 21:56:18 +0000 (17:56 -0400)
commitc455ea61440696556ed0edbdcf28c9301b3f181e
tree1b0d6d292451b698b273fa0ee0d4e02b6d40f4cc
parent862b00b795f9c15f28a93a8c4a024911fd72e0e6
glthread: qualify the *cmd unmarshal parameter with restrict

This seems like a logical thing to do. Clearly the memory can't be
accessed with any other pointer.

Acked-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21777>
src/mapi/glapi/gen/gl_marshal.py
src/mapi/glapi/gen/gl_marshal_h.py
src/mesa/main/glthread_bufferobj.c
src/mesa/main/glthread_draw.c
src/mesa/main/glthread_get.c
src/mesa/main/glthread_list.c
src/mesa/main/glthread_marshal.h
src/mesa/main/glthread_shaderobj.c