[PATCH 09/12] wbemprox: Global variable compatibility update for gcc 10
Michael Cronenworth
mike at cchtml.com
Thu Jan 23 17:05:27 CST 2020
https://gcc.gnu.org/gcc-10/porting_to.html#common
Signed-off-by: Michael Cronenworth <mike at cchtml.com>
---
dlls/wbemprox/main.c | 2 ++
dlls/wbemprox/wbemprox_private.h | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/wbemprox/main.c b/dlls/wbemprox/main.c
index d90f4f8cc6..0908441498 100644
--- a/dlls/wbemprox/main.c
+++ b/dlls/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/dlls/wbemprox/wbemprox_private.h b/dlls/wbemprox/wbemprox_private.h
index 9d39a7c92b..9096b392e3 100644
--- a/dlls/wbemprox/wbemprox_private.h
+++ b/dlls/wbemprox/wbemprox_private.h
@@ -20,8 +20,8 @@
#include "wine/heap.h"
#include "wine/list.h"
-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
{
--
2.24.1
More information about the wine-devel
mailing list