Module: Mesa Branch: master Commit: 53468dee0359a4ec3c9edd334656de0ddc47e477 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=53468dee0359a4ec3c9edd334656de0ddc47e477
Author: José Fonseca <[email protected]> Date: Sun Jun 1 08:54:18 2014 +0100 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]> --- 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]) _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
