summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2014-06-01 08:54:18 +0100
committerIan Romanick <ian.d.romanick@intel.com>2014-06-06 17:35:45 -0700
commit224c193237311405c7e5275a6a53ee8131ac9215 (patch)
tree453125a1ef9e7e435e1888a5bc910e773f28a6f4
parent494f91612550734d718e4e5120d315a8c3d6a41d (diff)
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 53468dee0359a4ec3c9edd334656de0ddc47e477)
-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 96bc4958797..b200d197341 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])