From: José Fonseca Date: Sun, 1 Jun 2014 07:54:18 +0000 (+0100) Subject: mesa/main: Make get_hash.c values constant. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53468dee0359a4ec3c9edd334656de0ddc47e477;p=mesa.git mesa/main: Make get_hash.c values constant. Reviewed-by: Matt Turner Reviewed-by: Ian Romanick Cc: "10.1 10.2" --- 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])