Module: wine Branch: refs/heads/master Commit: 11b9d020483fe102fc169e3be571ef6b62343a94 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=11b9d020483fe102fc169e3b... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jun 12 13:45:11 2006 +0200 crypt32: Make some variables static and/or const. --- dlls/crypt32/oid.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c index 7e5b0fa..7bc7aad 100644 --- a/dlls/crypt32/oid.c +++ b/dlls/crypt32/oid.c @@ -50,8 +50,8 @@ void crypt_oid_free(void) free_oid_info(); } -CRITICAL_SECTION funcSetCS; -struct list funcSets; +static CRITICAL_SECTION funcSetCS; +static struct list funcSets; struct OIDFunctionSet { @@ -578,8 +578,8 @@ BOOL WINAPI CryptSetOIDFunctionValue(DWO return rc ? FALSE : TRUE; } -CRITICAL_SECTION oidInfoCS; -struct list oidInfo; +static CRITICAL_SECTION oidInfoCS; +static struct list oidInfo; static const WCHAR tripledes[] = { '3','d','e','s',0 }; static const WCHAR cms3deswrap[] = { 'C','M','S','3','D','E','S','w','r','a', @@ -677,7 +677,7 @@ static const CRYPT_DATA_BLOB printableSt static const CRYPT_DATA_BLOB domainCompTypesBlob = { sizeof(domainCompTypes), (LPBYTE)domainCompTypes }; -struct OIDInfoConstructor { +static const struct OIDInfoConstructor { DWORD dwGroupId; LPCSTR pszOID; UINT Algid;