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

Alexandre Julliard julliard at winehq.org
Thu May 19 13:32:07 CDT 2011


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

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

itss: Mark internal symbols with hidden visibility.

---

 dlls/itss/chm_lib.h |   12 ++++++------
 dlls/itss/itsstor.h |    8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/dlls/itss/chm_lib.h b/dlls/itss/chm_lib.h
index fcd17b5..50264a5 100644
--- a/dlls/itss/chm_lib.h
+++ b/dlls/itss/chm_lib.h
@@ -72,25 +72,25 @@ struct chmUnitInfo
     WCHAR              path[CHM_MAX_PATHLEN+1];
 };
 
-struct chmFile* chm_openW(const WCHAR *filename);
-struct chmFile *chm_dup(struct chmFile *oldHandle);
+struct chmFile* chm_openW(const WCHAR *filename) DECLSPEC_HIDDEN;
+struct chmFile *chm_dup(struct chmFile *oldHandle) DECLSPEC_HIDDEN;
 
 /* close an ITS archive */
-void chm_close(struct chmFile *h);
+void chm_close(struct chmFile *h) DECLSPEC_HIDDEN;
 
 /* resolve a particular object from the archive */
 #define CHM_RESOLVE_SUCCESS (0)
 #define CHM_RESOLVE_FAILURE (1)
 int chm_resolve_object(struct chmFile *h,
                        const WCHAR *objPath,
-                       struct chmUnitInfo *ui);
+                       struct chmUnitInfo *ui) DECLSPEC_HIDDEN;
 
 /* retrieve part of an object from the archive */
 LONGINT64 chm_retrieve_object(struct chmFile *h,
                               struct chmUnitInfo *ui,
                               unsigned char *buf,
                               LONGUINT64 addr,
-                              LONGINT64 len);
+                              LONGINT64 len) DECLSPEC_HIDDEN;
 
 /* enumerate the objects in the .chm archive */
 typedef int (*CHM_ENUMERATOR)(struct chmFile *h,
@@ -109,6 +109,6 @@ int chm_enumerate_dir(struct chmFile *h,
                       const WCHAR *prefix,
                       int what,
                       CHM_ENUMERATOR e,
-                      void *context);
+                      void *context) DECLSPEC_HIDDEN;
 
 #endif /* INCLUDED_CHMLIB_H */
diff --git a/dlls/itss/itsstor.h b/dlls/itss/itsstor.h
index dd3ad1e..f4fa72b 100644
--- a/dlls/itss/itsstor.h
+++ b/dlls/itss/itsstor.h
@@ -29,15 +29,15 @@ extern HRESULT ITSS_StgOpenStorage(
     DWORD grfMode,
     SNB snbExclude,
     DWORD reserved,
-    IStorage** ppstgOpen);
+    IStorage** ppstgOpen) DECLSPEC_HIDDEN;
 
 extern HRESULT ITS_IParseDisplayName_create(
     IUnknown *pUnkOuter,
-    LPVOID *ppObj);
+    LPVOID *ppObj) DECLSPEC_HIDDEN;
 
-extern HRESULT ITSProtocol_create(IUnknown *pUnkOuter, LPVOID *ppobj);
+extern HRESULT ITSProtocol_create(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN;
 
-extern LONG dll_count;
+extern LONG dll_count DECLSPEC_HIDDEN;
 static inline void ITSS_LockModule(void) { InterlockedIncrement(&dll_count); }
 static inline void ITSS_UnlockModule(void) { InterlockedDecrement(&dll_count); }
 




More information about the wine-cvs mailing list