Marcus Meissner : mapi32: Mark internal symbols with hidden visibility.

Alexandre Julliard julliard at winehq.org
Fri May 20 12:44:29 CDT 2011


Module: wine
Branch: master
Commit: b93c6dfc69aa99bd06dce326257bd7eeef694ea1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b93c6dfc69aa99bd06dce326257bd7eeef694ea1

Author: Marcus Meissner <meissner at suse.de>
Date:   Fri May 13 17:22:13 2011 +0200

mapi32: Mark internal symbols with hidden visibility.

---

 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




More information about the wine-cvs mailing list