[Mesa-dev] [PATCH 1/2] mesa/main: Make get_hash.c values constant.
Ian Romanick
idr at freedesktop.org
Mon Jun 2 14:32:09 PDT 2014
Series is
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
On 06/01/2014 12:56 PM, jfonseca at vmware.com wrote:
> From: José Fonseca <jfonseca at vmware.com>
>
> ---
> 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-dev
mailing list