Michael Stefaniuc : janitorial: Move the storage specifier to the beginning of the declaration.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jul 7 07:56:25 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 32b1a245010d7c2471e0817adc627fcf05fcdad9
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=32b1a245010d7c2471e0817adc627fcf05fcdad9

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri Jul  7 00:23:14 2006 +0200

janitorial: Move the storage specifier to the beginning of the declaration.

---

 dlls/shell32/systray.c         |    2 +-
 dlls/wined3d/wined3d_private.h |    2 +-
 programs/explorer/systray.c    |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/shell32/systray.c b/dlls/shell32/systray.c
index f4bb6ed..8439e6f 100644
--- a/dlls/shell32/systray.c
+++ b/dlls/shell32/systray.c
@@ -36,7 +36,7 @@ #include "wine/debug.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(systray);
 
-const static WCHAR classname[] = /* Shell_TrayWnd */ {'S','h','e','l','l','_','T','r','a','y','W','n','d','\0'};
+static const WCHAR classname[] = /* Shell_TrayWnd */ {'S','h','e','l','l','_','T','r','a','y','W','n','d','\0'};
 
 /*************************************************************************
  * Shell_NotifyIcon			[SHELL32.296]
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index a71539a..50b2503 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -92,7 +92,7 @@ typedef struct _WINED3DGLTYPE {
 } WINED3DGLTYPE;
 
 /* NOTE: Make sure these are in the correct numerical order. (see /include/d3d9types.h typedef enum _D3DDECLTYPE) */
-WINED3DGLTYPE static const glTypeLookup[D3DDECLTYPE_UNUSED] = {
+static WINED3DGLTYPE const glTypeLookup[D3DDECLTYPE_UNUSED] = {
                                   {D3DDECLTYPE_FLOAT1,    1, GL_FLOAT           , GL_FALSE ,sizeof(float)},
                                   {D3DDECLTYPE_FLOAT2,    2, GL_FLOAT           , GL_FALSE ,sizeof(float)},
                                   {D3DDECLTYPE_FLOAT3,    3, GL_FLOAT           , GL_FALSE ,sizeof(float)},
diff --git a/programs/explorer/systray.c b/programs/explorer/systray.c
index 38e8ab3..70d29bf 100644
--- a/programs/explorer/systray.c
+++ b/programs/explorer/systray.c
@@ -44,7 +44,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(systray);
 #define IS_OPTION_FALSE(ch) \
     ((ch) == 'n' || (ch) == 'N' || (ch) == 'f' || (ch) == 'F' || (ch) == '0')
 
-const static WCHAR adaptor_classname[] = /* Adaptor */ {'A','d','a','p','t','o','r',0};
+static const WCHAR adaptor_classname[] = /* Adaptor */ {'A','d','a','p','t','o','r',0};
 
 /* tray state */
 struct tray
@@ -192,7 +192,7 @@ static void add_icon(const NOTIFYICONDAT
 {
     RECT rect;
     struct icon  *icon;
-    const static WCHAR adaptor_windowname[] = /* Wine System Tray Adaptor */ {'W','i','n','e',' ','S','y','s','t','e','m',' ','T','r','a','y',' ','A','d','a','p','t','o','r',0};
+    static const WCHAR adaptor_windowname[] = /* Wine System Tray Adaptor */ {'W','i','n','e',' ','S','y','s','t','e','m',' ','T','r','a','y',' ','A','d','a','p','t','o','r',0};
 
     WINE_TRACE("id=0x%x, hwnd=%p\n", nid->uID, nid->hWnd);
 




More information about the wine-cvs mailing list