Paul Vriens : crypt32: Move some defines to the top as they will be needed in more functions.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Oct 5 13:06:15 CDT 2006


Module: wine
Branch: master
Commit: 94be5b0d9e87c287ed60da9e19e33331ac15c9b3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=94be5b0d9e87c287ed60da9e19e33331ac15c9b3

Author: Paul Vriens <Paul.Vriens at xs4all.nl>
Date:   Thu Oct  5 13:40:43 2006 +0200

crypt32: Move some defines to the top as they will be needed in more functions.

---

 dlls/crypt32/sip.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/crypt32/sip.c b/dlls/crypt32/sip.c
index d7936e0..bfd2ab6 100644
--- a/dlls/crypt32/sip.c
+++ b/dlls/crypt32/sip.c
@@ -56,6 +56,9 @@ static const WCHAR szIsMyFile[] = {
 static const WCHAR szIsMyFile2[] = {
     'I','s','M','y','F','i','l','e','T','y','p','e','2','\\',0};
 
+static const WCHAR szDllName[] = { 'D','l','l',0 };
+static const WCHAR szFuncName[] = { 'F','u','n','c','N','a','m','e',0 };
+
 /* convert a guid to a wide character string */
 static void CRYPT_guid2wstr( LPGUID guid, LPWSTR wstr )
 {
@@ -150,8 +153,6 @@ #undef CRYPT_SIPREMOVEPROV
 static LONG CRYPT_SIPWriteFunction( LPGUID guid, LPCWSTR szKey, 
               LPCWSTR szDll, LPCWSTR szFunction )
 {
-    static const WCHAR szDllName[] = { 'D','l','l',0 };
-    static const WCHAR szFuncName[] = { 'F','u','n','c','N','a','m','e',0 };
     WCHAR szFullKey[ 0x100 ];
     LONG r = ERROR_SUCCESS;
     HKEY hKey;




More information about the wine-cvs mailing list