Mesa (master): mesa/main: Make get_hash.c values constant.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Tue Jun 3 11:21:54 UTC 2014
Module: Mesa
Branch: master
Commit: 53468dee0359a4ec3c9edd334656de0ddc47e477
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=53468dee0359a4ec3c9edd334656de0ddc47e477
Author: José Fonseca <jfonseca at vmware.com>
Date: Sun Jun 1 08:54:18 2014 +0100
mesa/main: Make get_hash.c values constant.
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
---
src/mesa/main/get_hash_generator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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])
More information about the mesa-commit
mailing list