mesa/main: Make get_hash.c values constant.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 53468dee03)
This commit is contained in:
José Fonseca 2014-06-01 08:54:18 +01:00 committed by Carl Worth
parent 45bf29b53d
commit 2889608534

View file

@ -52,7 +52,7 @@ def print_header():
(prime_factor, prime_step)
def print_params(params):
print "static struct value_desc values[] = {"
print "static const struct value_desc values[] = {"
for p in params:
print " { %s, %s }," % (p[0], p[1])