Module: wine Branch: master Commit: ee211f34c6e2555bf94d1aaa024bcc168e4c3d12 URL: https://gitlab.winehq.org/wine/wine/-/commit/ee211f34c6e2555bf94d1aaa024bcc1...
Author: Alistair Leslie-Hughes leslie_alistair@hotmail.com Date: Wed Nov 8 17:35:28 2023 +1100
itss: Remove DECLSPEC_HIDDEN usage.
---
dlls/itss/chm_lib.h | 24 ++++++++---------------- dlls/itss/itsstor.h | 10 ++++------ 2 files changed, 12 insertions(+), 22 deletions(-)
diff --git a/dlls/itss/chm_lib.h b/dlls/itss/chm_lib.h index 23b51bd6d9d..45b18af3070 100644 --- a/dlls/itss/chm_lib.h +++ b/dlls/itss/chm_lib.h @@ -72,25 +72,20 @@ struct chmUnitInfo WCHAR path[CHM_MAX_PATHLEN+1]; };
-struct chmFile* chm_openW(const WCHAR *filename) DECLSPEC_HIDDEN; -struct chmFile *chm_dup(struct chmFile *oldHandle) DECLSPEC_HIDDEN; +struct chmFile* chm_openW(const WCHAR *filename); +struct chmFile *chm_dup(struct chmFile *oldHandle);
/* close an ITS archive */ -void chm_close(struct chmFile *h) DECLSPEC_HIDDEN; +void chm_close(struct chmFile *h);
/* 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) DECLSPEC_HIDDEN; +int chm_resolve_object(struct chmFile *h, const WCHAR *objPath, struct chmUnitInfo *ui);
/* 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) DECLSPEC_HIDDEN; +LONGINT64 chm_retrieve_object(struct chmFile *h, struct chmUnitInfo *ui, unsigned char *buf, + LONGUINT64 addr, LONGINT64 len);
/* enumerate the objects in the .chm archive */ typedef int (*CHM_ENUMERATOR)(struct chmFile *h, @@ -105,10 +100,7 @@ typedef int (*CHM_ENUMERATOR)(struct chmFile *h, #define CHM_ENUMERATOR_FAILURE (0) #define CHM_ENUMERATOR_CONTINUE (1) #define CHM_ENUMERATOR_SUCCESS (2) -BOOL chm_enumerate_dir(struct chmFile *h, - const WCHAR *prefix, - int what, - CHM_ENUMERATOR e, - void *context) DECLSPEC_HIDDEN; +BOOL chm_enumerate_dir(struct chmFile *h, const WCHAR *prefix, int what, + CHM_ENUMERATOR e, void *context);
#endif /* INCLUDED_CHMLIB_H */ diff --git a/dlls/itss/itsstor.h b/dlls/itss/itsstor.h index f4fa72b216b..ef91d1c6fbb 100644 --- a/dlls/itss/itsstor.h +++ b/dlls/itss/itsstor.h @@ -29,15 +29,13 @@ extern HRESULT ITSS_StgOpenStorage( DWORD grfMode, SNB snbExclude, DWORD reserved, - IStorage** ppstgOpen) DECLSPEC_HIDDEN; + IStorage** ppstgOpen);
-extern HRESULT ITS_IParseDisplayName_create( - IUnknown *pUnkOuter, - LPVOID *ppObj) DECLSPEC_HIDDEN; +extern HRESULT ITS_IParseDisplayName_create(IUnknown *pUnkOuter, LPVOID *ppObj);
-extern HRESULT ITSProtocol_create(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN; +extern HRESULT ITSProtocol_create(IUnknown *pUnkOuter, LPVOID *ppobj);
-extern LONG dll_count DECLSPEC_HIDDEN; +extern LONG dll_count; static inline void ITSS_LockModule(void) { InterlockedIncrement(&dll_count); } static inline void ITSS_UnlockModule(void) { InterlockedDecrement(&dll_count); }