From: Brian Paul Date: Sat, 7 Mar 2015 20:15:22 +0000 (-0700) Subject: mesa: remove register keyword, add const in _mesa_QueryMatrixxOES() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c3984c1155bc78b45001f90ed1333bbacfc32151;p=mesa.git mesa: remove register keyword, add const in _mesa_QueryMatrixxOES() Reviewed-by: Matt Turner --- diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/querymatrix.c index ca6b023379e..ccd5c5e9904 100644 --- a/src/mesa/main/querymatrix.c +++ b/src/mesa/main/querymatrix.c @@ -49,13 +49,12 @@ _mesa_QueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]) * NaN or Inf). In case of error, everything is invalid. */ GLbitfield rv; - register unsigned int i; - unsigned int bit; + unsigned i, bit; /* This data structure defines the mapping between the current matrix * mode and the desired matrix identifier. */ - static struct { + static const struct { GLenum currentMode; GLenum desiredMatrix; } modes[] = {