glapi: Fix -Wduplicate-decl-specifier due to double-const
authorChad Versace <chadversary@chromium.org>
Thu, 22 Jun 2017 22:12:29 +0000 (15:12 -0700)
committerChad Versace <chadversary@chromium.org>
Mon, 26 Jun 2017 17:26:23 +0000 (10:26 -0700)
commit31c3c440b5361299fc0529bcf049e9b271d4fab9
treeea4010ef39afe3c16aca058d33db2f1f455ff248
parent2b237ff64cd4146e51bf6579293b1e803b1adfb4
glapi: Fix -Wduplicate-decl-specifier due to double-const

Fix all lines in src/mesa/main/marshal_generated.c that declare
double-const variables. Below is all such lines, with duplicates
removed:

   $ grep 'const const' marshal_generated.c | sort -u
   const const GLboolean * pointer = cmd->pointer;
   const const GLvoid * indices = cmd->indices;
   const const GLvoid * pointer = cmd->pointer;

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mapi/glapi/gen/gl_marshal.py