[PATCH 01/12] crypt32: Global variable compatibility update for gcc 10

Michael Cronenworth mike at cchtml.com
Thu Jan 23 17:05:19 CST 2020


https://gcc.gnu.org/gcc-10/porting_to.html#common

Signed-off-by: Michael Cronenworth <mike at cchtml.com>
---
 dlls/crypt32/crypt32_private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/crypt32/crypt32_private.h b/dlls/crypt32/crypt32_private.h
index 3d0129e7d4..d92eb1a157 100644
--- a/dlls/crypt32/crypt32_private.h
+++ b/dlls/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;
-- 
2.24.1




More information about the wine-devel mailing list