Janitorial: Fix 2 "static is not at beginning of declaration" warnings.

Michael Stefaniuc mstefani at redhat.de
Thu Jul 27 15:19:31 CDT 2006


Hello,

this 2 were introduced shortly after my first round of patches fixing
this type of warning. I waited for more but none came so i'm sending the
patch in now.

bye
	michael

---
 dlls/d3d9/vertexdeclaration.c |    2 +-
 dlls/gdi/tests/font.c         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3d9/vertexdeclaration.c b/dlls/d3d9/vertexdeclaration.c
index 1903091..c901d92 100644
--- a/dlls/d3d9/vertexdeclaration.c
+++ b/dlls/d3d9/vertexdeclaration.c
@@ -30,7 +30,7 @@ typedef struct _D3DDECLTYPE_INFO {
     int         typesize;
 } D3DDECLTYPE_INFO;
 
-D3DDECLTYPE_INFO static const d3d_dtype_lookup[D3DDECLTYPE_UNUSED] = {
+static D3DDECLTYPE_INFO const d3d_dtype_lookup[D3DDECLTYPE_UNUSED] = {
    {D3DDECLTYPE_FLOAT1,    1, sizeof(float)},
    {D3DDECLTYPE_FLOAT2,    2, sizeof(float)},
    {D3DDECLTYPE_FLOAT3,    3, sizeof(float)},
diff --git a/dlls/gdi/tests/font.c b/dlls/gdi/tests/font.c
index 971dcf3..c4ac60d 100644
--- a/dlls/gdi/tests/font.c
+++ b/dlls/gdi/tests/font.c
@@ -336,7 +336,7 @@ static void test_GetCharABCWidthsW(void)
 
 static void test_text_extents(void)
 {
-    const static WCHAR wt[] = {'O','n','e','\n','t','w','o',' ','3',0};
+    static const WCHAR wt[] = {'O','n','e','\n','t','w','o',' ','3',0};
     LPINT extents;
     INT i, len, fit1, fit2;
     LOGFONTA lf;
-- 
1.4.0


-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060727/b1e7e28c/attachment.pgp


More information about the wine-patches mailing list