Mesa (master): Move 'static' to start of declaration to silence compiler warning

Ian Romanick idr at kemper.freedesktop.org
Mon Nov 16 23:27:53 UTC 2009


Module: Mesa
Branch: master
Commit: b1616b2a811b9a161d1ee2a8251e0efe32a8c192
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1616b2a811b9a161d1ee2a8251e0efe32a8c192

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Nov 16 14:56:17 2009 -0800

Move 'static' to start of declaration to silence compiler warning

---

 src/mesa/main/texstore.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c
index f43e216..7cf3287 100644
--- a/src/mesa/main/texstore.c
+++ b/src/mesa/main/texstore.c
@@ -3121,7 +3121,7 @@ _mesa_texstore_sla8(TEXSTORE_PARAMS)
  * Table mapping MESA_FORMAT_8 to _mesa_texstore_*()
  * XXX this is somewhat temporary.
  */
-const static struct {
+static const struct {
    gl_format Name;
    StoreTexImageFunc Store;
 }




More information about the mesa-commit mailing list