summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2014-06-01 08:54:18 +0100
committerJosé Fonseca <[email protected]>2014-06-03 12:20:50 +0100
commit53468dee0359a4ec3c9edd334656de0ddc47e477 (patch)
tree4974973028f847e8ac8723b3a67daad7329bb1a6 /src/mesa
parentdad22cc590a118c25c963c59784f6904c181bb58 (diff)
mesa/main: Make get_hash.c values constant.
Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Cc: "10.1 10.2" <[email protected]>
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 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])