From 93dcc8436ce7828244e5ea99614a6a8610b4ccd0 Mon Sep 17 00:00:00 2001 From: Victor Perevertkin Date: Tue, 26 Apr 2022 03:08:02 +0300 Subject: [PATCH] [WBEMPROX] Global variable compatibility update for gcc 10. Imported Wine commit da21c305164c3e585e29e20242afc5a31f91989f Signed-off-by: Michael Cronenworth Signed-off-by: Alexandre Julliard --- dll/win32/wbemprox/main.c | 2 ++ dll/win32/wbemprox/wbemprox_private.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dll/win32/wbemprox/main.c b/dll/win32/wbemprox/main.c index d90f4f8cc63..09084414983 100644 --- a/dll/win32/wbemprox/main.c +++ b/dll/win32/wbemprox/main.c @@ -35,6 +35,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(wbemprox); static HINSTANCE instance; +struct list *table_list; + typedef HRESULT (*fnCreateInstance)( LPVOID *ppObj ); typedef struct diff --git a/dll/win32/wbemprox/wbemprox_private.h b/dll/win32/wbemprox/wbemprox_private.h index 5c04c45d973..78254755fd1 100644 --- a/dll/win32/wbemprox/wbemprox_private.h +++ b/dll/win32/wbemprox/wbemprox_private.h @@ -25,8 +25,8 @@ #include #endif -IClientSecurity client_security DECLSPEC_HIDDEN; -struct list *table_list DECLSPEC_HIDDEN; +extern IClientSecurity client_security DECLSPEC_HIDDEN; +extern struct list *table_list DECLSPEC_HIDDEN; enum param_direction {