From 53468dee0359a4ec3c9edd334656de0ddc47e477 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sun, 1 Jun 2014 08:54:18 +0100 Subject: [PATCH] mesa/main: Make get_hash.c values constant. Reviewed-by: Matt Turner Reviewed-by: Ian Romanick Cc: "10.1 10.2" --- 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 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]) -- 2.30.2