Alexandre Julliard : crypt32: Make some functions and variables static.
Alexandre Julliard
julliard at winehq.org
Tue Dec 2 11:02:08 CST 2008
Module: wine
Branch: master
Commit: 7d4bc8503b3276f92e32c205b32a5847890affc6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7d4bc8503b3276f92e32c205b32a5847890affc6
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Dec 2 15:27:40 2008 +0100
crypt32: Make some functions and variables static.
---
dlls/crypt32/encode.c | 2 +-
dlls/crypt32/msg.c | 2 +-
dlls/crypt32/rootstore.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/crypt32/encode.c b/dlls/crypt32/encode.c
index 08120ff..12ab05f 100644
--- a/dlls/crypt32/encode.c
+++ b/dlls/crypt32/encode.c
@@ -3164,7 +3164,7 @@ static BOOL WINAPI CRYPT_AsnEncodeBitsSwapBytes(DWORD dwCertEncodingType,
return ret;
}
-BOOL WINAPI CRYPT_AsnEncodeInt(DWORD dwCertEncodingType,
+static BOOL WINAPI CRYPT_AsnEncodeInt(DWORD dwCertEncodingType,
LPCSTR lpszStructType, const void *pvStructInfo, DWORD dwFlags,
PCRYPT_ENCODE_PARA pEncodePara, BYTE *pbEncoded, DWORD *pcbEncoded)
{
diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c
index ca94a2e..7c90d75 100644
--- a/dlls/crypt32/msg.c
+++ b/dlls/crypt32/msg.c
@@ -46,7 +46,7 @@ typedef BOOL (*CryptMsgUpdateFunc)(HCRYPTMSG hCryptMsg, const BYTE *pbData,
typedef BOOL (*CryptMsgControlFunc)(HCRYPTMSG hCryptMsg, DWORD dwFlags,
DWORD dwCtrlType, const void *pvCtrlPara);
-BOOL CRYPT_DefaultMsgControl(HCRYPTMSG hCryptMsg, DWORD dwFlags,
+static BOOL CRYPT_DefaultMsgControl(HCRYPTMSG hCryptMsg, DWORD dwFlags,
DWORD dwCtrlType, const void *pvCtrlPara)
{
TRACE("(%p, %08x, %d, %p)\n", hCryptMsg, dwFlags, dwCtrlType, pvCtrlPara);
diff --git a/dlls/crypt32/rootstore.c b/dlls/crypt32/rootstore.c
index c3d4794..116c934 100644
--- a/dlls/crypt32/rootstore.c
+++ b/dlls/crypt32/rootstore.c
@@ -663,7 +663,7 @@ static const BYTE rootcertauthority[] = {
0xf8,0x04,0x4d,0x30,0x92,0x3d,0x6e,0x21,0x14,0x21,0xc9,0x3d,0xe0,0xc3,0xfd,0x8a,
0x6b,0x9d,0x4a,0xfd,0xd1,0xa1,0x9d,0x99,0x43,0x77,0x3f,0xb0,0xda };
-struct CONST_BLOB {
+static const struct CONST_BLOB {
const BYTE *pb;
DWORD cb;
} msRootCerts[] = {
More information about the wine-cvs
mailing list