[PATCH] mapi32: Mark internal symbols with hidden visibility

Marcus Meissner meissner at suse.de
Fri May 13 10:22:13 CDT 2011


---
 dlls/mapi32/mapi32_main.c |    4 ++--
 dlls/mapi32/util.h        |    8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/mapi32/mapi32_main.c b/dlls/mapi32/mapi32_main.c
index 6c35563..e7c1781 100644
--- a/dlls/mapi32/mapi32_main.c
+++ b/dlls/mapi32/mapi32_main.c
@@ -33,8 +33,8 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(mapi);
 
-LONG MAPI_ObjectCount = 0;
-HINSTANCE hInstMAPI32;
+DECLSPEC_HIDDEN LONG MAPI_ObjectCount = 0;
+DECLSPEC_HIDDEN HINSTANCE hInstMAPI32;
 
 /***********************************************************************
  *              DllMain (MAPI32.init)
diff --git a/dlls/mapi32/util.h b/dlls/mapi32/util.h
index df03d6e..6fbf81e 100644
--- a/dlls/mapi32/util.h
+++ b/dlls/mapi32/util.h
@@ -25,8 +25,8 @@
 #include <mapi.h>
 #include <mapix.h>
 
-extern void load_mapi_providers(void);
-extern void unload_mapi_providers(void);
+extern void load_mapi_providers(void) DECLSPEC_HIDDEN;
+extern void unload_mapi_providers(void) DECLSPEC_HIDDEN;
 
 typedef struct MAPI_FUNCTIONS {
     LPMAPIADDRESS        MAPIAddress;
@@ -60,7 +60,7 @@ typedef struct MAPI_FUNCTIONS {
     SCODE    (WINAPI *ScInitMapiUtil)             (ULONG ulReserved);
 } MAPI_FUNCTIONS;
 
-extern MAPI_FUNCTIONS mapiFunctions;
-extern HINSTANCE hInstMAPI32;
+extern MAPI_FUNCTIONS mapiFunctions DECLSPEC_HIDDEN;
+extern HINSTANCE hInstMAPI32 DECLSPEC_HIDDEN;
 
 #endif
-- 
1.7.1



More information about the wine-patches mailing list