glsl: Less const for glsl_type convenience accessors
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 26 Jul 2013 20:37:29 +0000 (13:37 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 27 Jul 2013 19:13:03 +0000 (12:13 -0700)
commit803f755edeabd1b0af3d8f4ebf2005333e152ad4
treeccf42f99a09916be0e62a31690bc142d0d1284f1
parent17856726c94000bf16156f7f9acea77a271a6005
glsl: Less const for glsl_type convenience accessors

The second 'const' says that the pointer itself is constant.  This in
unenforcible in C++, so GCC emits a warning (see) below for each of
these functions in every file that includes glsl_types.h.  It's a lot of
warning spam.

../../../src/glsl/glsl_types.h:176:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: mesa-stable@lists.freedesktop.org
src/glsl/glsl_types.cpp
src/glsl/glsl_types.h