d3dx9_36: Move 'static' to the beginning of the declaration.

Michael Stefaniuc mstefani at redhat.de
Tue Nov 23 07:22:15 CST 2010


"2039 The placement of a storage-class specifier other than at the
beginning of the declaration specifiers in a declaration is an
obsolescent feature."
http://c0x.coding-guidelines.com/6.11.5.html
---
 dlls/d3dx9_36/texture.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/d3dx9_36/texture.c b/dlls/d3dx9_36/texture.c
index c6e2273..f107bbf 100644
--- a/dlls/d3dx9_36/texture.c
+++ b/dlls/d3dx9_36/texture.c
@@ -1075,7 +1075,7 @@ HRESULT WINAPI D3DXFillCubeTexture(LPDIRECT3DCUBETEXTURE9 texture,
     BYTE *data, *pos;
     BYTE byte, mask;
     float comp_value;
-    const static enum cube_coord coordmap[6][3] =
+    static const enum cube_coord coordmap[6][3] =
         {
             {ONE, YCOORDINV, XCOORDINV},
             {ZERO, YCOORDINV, XCOORD},
-- 
1.6.4.4



More information about the wine-patches mailing list