summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2014-06-01 08:54:18 +0100
committerJosé Fonseca <jfonseca@vmware.com>2014-06-03 12:20:50 +0100
commit53468dee0359a4ec3c9edd334656de0ddc47e477 (patch)
tree4974973028f847e8ac8723b3a67daad7329bb1a6 /src/mesa
parentdad22cc590a118c25c963c59784f6904c181bb58 (diff)
downloadexternal_mesa3d-53468dee0359a4ec3c9edd334656de0ddc47e477.zip
external_mesa3d-53468dee0359a4ec3c9edd334656de0ddc47e477.tar.gz
external_mesa3d-53468dee0359a4ec3c9edd334656de0ddc47e477.tar.bz2
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>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/get_hash_generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/get_hash_generator.py b/src/mesa/main/get_hash_generator.py
index 96bc495..b200d19 100644
--- a/src/mesa/main/get_hash_generator.py
+++ b/src/mesa/main/get_hash_generator.py
@@ -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])