Module: wine Branch: master Commit: a02ff4b5d3b43fab0662dac3834388d758661769 URL: https://gitlab.winehq.org/wine/wine/-/commit/a02ff4b5d3b43fab0662dac3834388d... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Nov 8 10:08:39 2023 +0100 include: Remove DECLSPEC_HIDDEN from standard Dll* functions. --- dlls/winecrt0/dll_main.c | 2 +- include/objbase.h | 4 ++-- include/shlwapi.h | 4 ++-- include/winbase.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/winecrt0/dll_main.c b/dlls/winecrt0/dll_main.c index 08a9322d809..a177438584c 100644 --- a/dlls/winecrt0/dll_main.c +++ b/dlls/winecrt0/dll_main.c @@ -22,7 +22,7 @@ #include "windef.h" #include "winbase.h" -BOOL WINAPI DECLSPEC_HIDDEN DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved ) +BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved ) { if (reason == DLL_PROCESS_ATTACH) DisableThreadLibraryCalls( inst ); return TRUE; diff --git a/include/objbase.h b/include/objbase.h index 15851a13550..bae8de54bab 100644 --- a/include/objbase.h +++ b/include/objbase.h @@ -420,8 +420,8 @@ WINOLE32API HRESULT WINAPI StringFromIID(REFIID riid, LPOLESTR*); /***************************************************************************** * COM Server dll - exports */ -HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID * ppv) DECLSPEC_HIDDEN; -HRESULT WINAPI DllCanUnloadNow(void) DECLSPEC_HIDDEN; +HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID * ppv); +HRESULT WINAPI DllCanUnloadNow(void); /***************************************************************************** * Data Object diff --git a/include/shlwapi.h b/include/shlwapi.h index aafbdd3870b..c643d2a4e3a 100644 --- a/include/shlwapi.h +++ b/include/shlwapi.h @@ -1089,7 +1089,7 @@ typedef HRESULT (CALLBACK *DLLGETVERSIONPROC)(DLLVERSIONINFO *); #ifdef __WINESRC__ /* shouldn't be here, but is nice for type checking */ -HRESULT WINAPI DllGetVersion(DLLVERSIONINFO *) DECLSPEC_HIDDEN; +HRESULT WINAPI DllGetVersion(DLLVERSIONINFO *); #endif typedef struct _DLLVERSIONINFO2 { @@ -1106,7 +1106,7 @@ typedef struct _DLLVERSIONINFO2 { #define MAKEDLLVERULL(mjr, mnr, bld, qfe) (((ULONGLONG)(mjr)<< 48)| \ ((ULONGLONG)(mnr)<< 32) | ((ULONGLONG)(bld)<< 16) | (ULONGLONG)(qfe)) -HRESULT WINAPI DllInstall(BOOL,LPCWSTR) DECLSPEC_HIDDEN; +HRESULT WINAPI DllInstall(BOOL,LPCWSTR); /* IsOS definitions */ diff --git a/include/winbase.h b/include/winbase.h index 5f005fcd82b..16e449f7c2d 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -3048,7 +3048,7 @@ int WINAPI wWinMain(HINSTANCE,HINSTANCE,LPWSTR,int); #ifdef __WINESRC__ /* shouldn't be here, but is nice for type checking */ -BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) DECLSPEC_HIDDEN; +BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ); #endif #ifdef __cplusplus