https://git.reactos.org/?p=reactos.git;a=commitdiff;h=351fa5120a6b1a8728090da96eecec6eee9fd959

commit 351fa5120a6b1a8728090da96eecec6eee9fd959
Author:     Victor Perevertkin <[email protected]>
AuthorDate: Tue Apr 26 02:55:36 2022 +0300
Commit:     Victor Perevertkin <[email protected]>
CommitDate: Tue Apr 26 03:38:38 2022 +0300

    [CRYPT32] Global variable compatibility update for gcc 10.
    
    Imported Wine commit 5740b735cdb44fb89a41f3090dcc3dabf360ab41
    
    Signed-off-by: Michael Cronenworth <[email protected]>
    Signed-off-by: Alexandre Julliard <[email protected]>
---
 dll/win32/crypt32/crypt32_private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dll/win32/crypt32/crypt32_private.h 
b/dll/win32/crypt32/crypt32_private.h
index ac70fe04f82..838d76a91a9 100644
--- a/dll/win32/crypt32/crypt32_private.h
+++ b/dll/win32/crypt32/crypt32_private.h
@@ -152,7 +152,7 @@ BOOL WINAPI CRYPT_AsnEncodePubKeyInfoNoNull(DWORD 
dwCertEncodingType,
  */
 HCRYPTPROV WINAPI I_CryptGetDefaultCryptProv(ALG_ID);
 
-HINSTANCE hInstance DECLSPEC_HIDDEN;
+extern HINSTANCE hInstance DECLSPEC_HIDDEN;
 
 void crypt_oid_init(void) DECLSPEC_HIDDEN;
 void crypt_oid_free(void) DECLSPEC_HIDDEN;

Reply via email to