From 7d4bc8503b3276f92e32c205b32a5847890affc6 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 2 Dec 2008 15:27:40 +0100 Subject: [PATCH] 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 08120ff560..12ab05fc0b 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 ca94a2e2e8..7c90d75dd2 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 c3d47948c8..116c934113 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[] = {