https://git.reactos.org/?p=reactos.git;a=commitdiff;h=93dcc8436ce7828244e5e…
commit 93dcc8436ce7828244e5ea99614a6a8610b4ccd0
Author: Victor Perevertkin <victor.perevertkin(a)reactos.org>
AuthorDate: Tue Apr 26 03:08:02 2022 +0300
Commit: Victor Perevertkin <victor.perevertkin(a)reactos.org>
CommitDate: Tue Apr 26 03:38:38 2022 +0300
[WBEMPROX] Global variable compatibility update for gcc 10.
Imported Wine commit da21c305164c3e585e29e20242afc5a31f91989f
Signed-off-by: Michael Cronenworth <mike(a)cchtml.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
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 <winnls.h>
#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
{